Page 1 of 1

1. (9 points) Given the assembly code below answer the following questions ORG 10H MOV A, ARRAY R2, #ARRAY MOV EQU 5H CO

Posted: Fri Jul 01, 2022 5:53 am
by answerhappygod
1 9 Points Given The Assembly Code Below Answer The Following Questions Org 10h Mov A Array R2 Array Mov Equ 5h Co 1
1 9 Points Given The Assembly Code Below Answer The Following Questions Org 10h Mov A Array R2 Array Mov Equ 5h Co 1 (42.03 KiB) Viewed 44 times
1. (9 points) Given the assembly code below answer the following questions ORG 10H MOV A, ARRAY R2, #ARRAY MOV EQU 5H CONST STRING: DB ARRAY: DB SIZE: "Cat" 19,6,13,9 DB 9 (a) (6 points) In the table below list the content of the ROM within address range 0010H-0018H. Use the table included with the assignment to lookup the opcode and format of 8051 instructions. Address Content 0010H 0011H 0012H 0013H 0014H 0015H 0016H 0017H 0018H (b) (1 points) What is the value of SIZE when used in an instruction like "MOV A, #SIZE"? (c) (2 points) what are the values of registers A and R2 right after executing the second instruction? Assume that the content of all internal RAM locations (address 00H- 7FH) are 00H.