- 积分
- 234
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
Jewes[SPGC]
有兴趣的朋友可以去研究一下
;收到新短信提示读取V1 For Siemens 6688V55
$Segmented
$Mod167
;Some Function
DrawImagebyIndex EQU 0xB3DF04
Fun2 EQU 0xD445A8
HasNewSMS EQU 0xA55672
;SOme Address
PatchBegin EQU 0x1F21b4
dlgStruct_Begin EQU 0x1F2190
dlgStruct section data word at dlgStruct_Begin
dw A38h
dw 7FFFh
dw 0
dw 0
dw 2
dw 0
dw 0
dw 7FFFh
dw 0
dw 0
dw pof(Handler)
dw seg(Handler+0xA00000)
dw 0
dw 0
dw 2E00h
dw 342h
dw 4E26h
dw 2
dlgStruct ends
patch section code word AT PatchBegin
main proc far
calls 0b4h,0d81eh
CALLS SEG(HasNewSMS),SOF(HasNewSMS)
CMP R4,#0
JMP CC_Z,main_out
mov r12, #pof(dlgStruct+4)
mov r13, #pag(dlgStruct+0xA00000)
mov r14, #pof(dlgStruct)
mov r15, r13
calls 0DDh, 80DAh
main_out:
rets
main endp
handler proc far
cmp r14,#23h
jmp cc_nz,readlater
mov r4, #1
mov [-r0], r4
mov r12, #0
mov [-r0], r12
mov [-r0], r4
mov [-r0], r12
mov [-r0], r12
mov r13, #0
mov r15, #0
mov r14, #0
calls seg(Fun2),sof(Fun2)
add r0, #0Ah
mov r4,#1
jmp cc_uc,handle_out
readlater:
mov r4,#0
handle_out:
rets
handler endp
patch ends
End
[此贴子已经被作者于2004-3-15 21:11:17编辑过]
|
|