標題: 嵌入式匯編高手請進!!! [打印本頁] 作者: 313343547 時間: 2011-10-10 16:53 標題: 嵌入式匯編高手請進!!! 下面的程序啥意思呀,高手解釋一下!!!謝謝
1:what value is stored in m in the following assembly language code fragment if n=7?
LDAA #n
LABEL1: CMPA #5
BHI L3
BEQ L2
DECA
BRA L1
LABEL2: CLRA
LABEL3: STAA #m
2:Assume the BC register value is 8538H, and the DE register value is 62A5H.Find the value of register BC after the following assembly operations:
MOV A,C
SUB E
MOV C,A
MOV A,B
SBB D
MOV B,A
3:In the Assembly code shown below
LOOP: MVI C,78H
DCR C
JNZ LOOP
HLT
How many times is the DCR C Operation executed?作者: 原野之狼 時間: 2011-10-11 09:15
對照處理器的匯編手冊 一條條分析就是了 不要犯懶作者: 313343547 時間: 2011-10-11 15:20 回復2樓原野之狼: