Question: RO, 512 R1,0x123 Data Block Size ) Data Block starting address MOV MOV again LDR ADD STR ADD ADD JNZ R2,R1 R2,5 R2,R1 R1, +1
RO, 512 R1,0x123 Data Block Size ) Data Block starting address MOV MOV again LDR ADD STR ADD ADD JNZ R2,R1 R2,5 R2,R1 R1, +1 RO, -1 again ; Get data from (R1] ; Add 5 ; Put data back to its location, (R1) ; Increment pointer ; Decrement Counter ; Repeat if not processed all data Refer to the notes of lecture#5 and convert the given assembly code to machine code. The answe can be structured in a table as shown. Add more rows as required. Instruction Address Assembly Instruction Machine Code (in binary) Machine Code (in Hex)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
