rajivc666
Full Member
Karma: +23/-2
Offline
Posts: 127
|
|
« on: January 13, 2012, 12:24:48 AM »
|
|
|
THe following subroutine is taken from a stock SJ box. The section in BOLD seems to be writing to memory location 48003Eh (120h*4000h+3Eh). Which is that memory location, or what am I doing wrong. Thanks ; =============== S U B R O U T I N E ======================================= seg010:728DC seg010:728DC seg010:728DC sub_8728DC: ; CODE XREF: seg010:22AD6P seg010:728DC ; seg010:22D50P seg010:728DC movb rl4, word_FDCC seg010:728E0 mov r10, #3Eh ; '>' seg010:728E4 mov r11, #120h seg010:728E8 extp r11, #1 seg010:728EA movb [r10], rl4 seg010:728EC mov r4, #42h ; 'B' seg010:728F0 mov r5, #120h seg010:728F4 extp r5, #1 seg010:728F6 movb rl3, [r4] seg010:728F8 movbz r4, rl3 seg010:728FA mov word_FDD8, r4 seg010:728FE movb rl4, word_FDCE seg010:72902 mov r10, #44h ; 'D' seg010:72906 mov r11, #120h seg010:7290A extp r11, #1 seg010:7290C movb [r10], rl4 seg010:7290E mov r4, #48h ; 'H' seg010:72912 mov r5, #120h seg010:72916 extp r5, #1 seg010:72918 movb rl3, [r4] seg010:7291A movbz r4, rl3 seg010:7291C mov word_FDDA, r4 seg010:72920 rets seg010:72920 ; End of function sub_8728DC
|