11 1 ; Simple_Operations.asm 2 3 ; Author: D. Haley 4 ; Student Number N/A 5 ; Date: 1 Mar 2022 6 ; 7; Purpose: To Gain
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
11 1 ; Simple_Operations.asm 2 3 ; Author: D. Haley 4 ; Student Number N/A 5 ; Date: 1 Mar 2022 6 ; 7; Purpose: To Gain
The following questions refer to the above code listing. Example Questions & Answers (to illustrate the Format for your answers - e.g. use of "$" and "%" signs: After the execution of line 26, what is the 8-bit HEX value in Accumulator A? Answer: $40 After the execution of line 26, what is the 8-bit BINARY value in Accumulator A? Answer: %01000000 After the execution of line 26, what is the 8-bit HEX value in Accumulator A? A Question 2 (1 point) After the execution of line 27, what is the 8-bit HEX value in Accumulator B? A/ Question 3 (1 point) After the execution of line 28, what is the 8-bit HEX value in Accumulator B? A Question 4 (1 point) What 16-bit HEX address is associated with "Result+1" in line 302 A
Question 5 (1 point) After the execution of line 31, what is the 8-bit HEX value in Accumulator A? A Question 6 (1 point) After the execution of line 32, what is the 8-bit HEX value in Accumulator B? A Question 7 (1 point) After the execution of line 35, what is the 8-bit BINARY value in Accumulator A? A Question 8 (1 point) After the execution of line 36, what is the 16-bit HEX value in D? A Question 9 (1 point) What is the three letter abbreviation for the Addressing mode of the instruction used in line 35?
Question 10 (1 point) What is the opcode (object code) for the instruction in line 37? A