18. <15 pts> Match these addressing modes: \ (A) register, (B) immediate, (C) indirect, (D) relative, (E) implicit \
Posted: Tue Jul 12, 2022 8:10 am
18. <15 pts> Match these addressing modes:
\ (A) register, (B) immediate, (C) indirect, (D)relative, (E) implicit
\ Each possible answer may be used once, more thanonce, or not at all.
\ Enter the letter, case insensitive
18.a. ( 3.0 pts) Jne<NEXT> -If the zero flag is 0, jmp to NEXT
18.b. ( 3.0 pts) PushR0 -Decrement the stack pointer, then copy the data from R0 to thestack.
\ Register is one of the modes, what is the other?
18.c. ( 3.0 pts) XorR0,0xFF - OR thevalue in R0 with number 0xFF, and store in R0
\ Hint: NOT register mode
18.d. ( 3.0 pts) AddR1,[0x1000] - Addthe contents of memory location 0x1000 to R1 and store the sum inR1
18.e. ( 3.0 pts) jmp[R2:R3] - Use the 16bit value of R2 concatenated with R3 and copy to the InstructionPointer
\ (A) register, (B) immediate, (C) indirect, (D)relative, (E) implicit
\ Each possible answer may be used once, more thanonce, or not at all.
\ Enter the letter, case insensitive
18.a. ( 3.0 pts) Jne<NEXT> -If the zero flag is 0, jmp to NEXT
18.b. ( 3.0 pts) PushR0 -Decrement the stack pointer, then copy the data from R0 to thestack.
\ Register is one of the modes, what is the other?
18.c. ( 3.0 pts) XorR0,0xFF - OR thevalue in R0 with number 0xFF, and store in R0
\ Hint: NOT register mode
18.d. ( 3.0 pts) AddR1,[0x1000] - Addthe contents of memory location 0x1000 to R1 and store the sum inR1
18.e. ( 3.0 pts) jmp[R2:R3] - Use the 16bit value of R2 concatenated with R3 and copy to the InstructionPointer