18. <15 pts> Match these addressing modes: \ (A) register, (B) immediate, (C) indirect, (D) relative, (E) implicit \

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

18. <15 pts> Match these addressing modes: \ (A) register, (B) immediate, (C) indirect, (D) relative, (E) implicit \

Post by answerhappygod »

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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply