1. (9 points) Given the assembly code below answer the following questions ORG 10H MOV A, ARRAY R2, #ARRAY MOV EQU 5H CO
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1. (9 points) Given the assembly code below answer the following questions ORG 10H MOV A, ARRAY R2, #ARRAY MOV EQU 5H CO
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.
1. (9 points) Given the assembly code below answer the following