- 积分
- 1387
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
01) DisplayMessageBox :
mov r12, flag ; #1=boxed, #2=unboxed
mov r13, textID
calls 0E6h, 0F138h ; with V icon
mov r12, flag
mov r13, textID
calls 0E6h, 0F198h ; with ! icon
02) StringCopy :
mov r12, dst_offset
mov r13, dst_page
mov r14, src_Offset
mov r15, src_page
calls 0C7h, 84A6h
03) MoveWord :
mov r4, src_offset
mov r5, src_page
mov r10, dst_offset
mov r11, dst_page
mov r3, word_count
calls 0C7, 0EE0Ah
04) Indirect Call :
mov r4, func_offset
mov r5, func_page
calls 0C7h, 7EE88h
05) Run Java File :
mov r12, filename_offset
mov r13, filename_page
mov r14, flag ; #0 = list, #1 = run
calls 0C8h, 0BDEh
06) Draw Image (Screen must be prepared) :
mov r14, image_index
mov r12, x_pos
mov r13, y_pos
calls 0C1h, 22ECh
07) Write Data to EEPROM :
mov r12, #0
mov [-r0], r12
mov [-r0], r12
mov [-r0], r12
mov r12, size
mov [-r0], r12
mov r12, EEPROM_Block
mov r13, data_Offset
mov r14, data_Page
mov r15, offset
calls 0C2h, 2F92h
add r0, #8
08 ) Read Data from EEPROM (method 1) :
mov r12, #0
mov [-r0], r12
mov [-r0], r12
mov [-r0], r12
mov r12, size
mov [-r0], r12
mov r12, EEPROM_Block
mov r13, dst_Offset
mov r14, dst_Page
mov r15, offset
calls 0C2h, 2F3Eh
add r0, #8
08 ) Read Data from EEPROM (method 2) :
mov r12, size
mov [-r0], r2
mov r12, EEPROM_Block
mov r13, dst_Offset
mov r14, dst_Page
mov r15, offset
calls 0C2h, 30BAh
add r0, #2
09) GetLength :
mov r12, string_offset
mov r13, string_page
calls 0C7h, 8536h ; output = r4
10) CopyArray :
mov r12, size
mov [-r0], r12
mov r12, src_offset
mov r13, src_page
mov r14, dst_offset
mov r15, dst_page
calls 0C7h, 859Eh
11) Get Word Value :
mov r12, string_offset
mov r13, string_page
calls 0C7h, 82E6h ; output = r4
12) Get Double Word Value :
mov r12, string_offset
mov r13, string_page
calls 0C7h, 7EBAh ; output = r4,r5
13) Get Word :
mov r12, data_offset
mov r13, data_page
calls 0h, 8356h ; output = r4
14) Get Double Word :
mov r12, data_offset
mov r13, data_page
calls 0C7h, 8344h ; output = r4:r5
15) FillChar :
mov r12, dst_offset
mov r13, dst_page
mov r14, char
mov r15, size
calls 0C7h, 8416h
16) Display Free String without Box :
mov r12, text_offset
mov r13, text_page
calls 0CAh, 8B7Ah
17) Find substring :
mov r12, string_offset
mov r13, string_page
mov r14, substring_offset
mov r15, substring_page
calls 0C7h, 85F0h |
|