問一個組合語言運算問題
|
||||
---|---|---|---|---|
中級會員
|
下列式子可以得到正確結果
#define test .20(常數) org 0x00 movlw (.1000/test) ------------------------------------------------- test equ 0x20(變數) org 0x00 movlw .20 movwf test movlw (.1000/test) 這樣運算結果卻會得到test變數的位址 並不會得到變數內的值 請問要如何做才能拿到變數內的值來做運算??? 謝謝~~~
發表於: 2006/2/6 16:43
|
|||
|