This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

2407彙編指令ldp

ldp     #charge_filter 
splk   #16 , charge_filter  ; 變數charge_filter  = 16

為什麼這樣就能對變數charge_filter賦值

第一行 不是將變數charge_filter的位址的低9位設定成DP嗎

            怎麼變成將charge_filter所在的頁碼設定成DP?

我的理解是 假設charge_filter 位址是300h

第一行後 DP=100h (低9位) 

第二行 變成對位址8000h賦值 (DP+charge_filter低7位) 

請問我哪裡解錯了...