asember_code
Lab1-b
1 | ; |
andi
1 | ; |
不改变register 写入mem[]
1 | ; |
Q:What values do you expect to be stored in each of registers r18 through r22 for the first program?
• Did you obtain your expected values?
• Why were the registers used, starting from r16?
• Which instructions limit the use of the destination register?
• Was there any Carry, Negative or Overflow issues observed in the operations?
• Where were these reflected?
• In Task 3, what instructions were used to skip over the unneeded branches of the code?
read in from pins store to memory
1 | ; |
if
1 |
|