Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Write a subroutine to do the following: The inputs to the subroutine are a po

ID: 2081205 • Letter: 1

Question


1. Write a subroutine to do the following:
The inputs to the subroutine are a pointer in register Y and an 8-bit number in register B.
Starting at the address in register Y, clear (set to 0) the number of bytes in memory corresponding to register B. For example, if Y is $2000 and B is 8, clear 8 bytes of memory starting at $2000.
The subroutine should preserve all registers, and it does not have any return values.

2. Identify each of the following memory technologies:
a. Volatile, requires periodic refresh
b. Volatile, does not require periodic refresh
c. Non-volatile, programmed once
d. Non-volatile, erasable using UV light
e. Non-volatile, electrically erasable (identify two)
3. Diagram the memory map of the following processor:
a. RAM, Flash, and registers:
RAM starts at address $0000, 512 bytes
Flash starts at address $C000, 4 kbytes
Registers start at address $8000, 12 bits of address
For the memory map, show the starting and ending address of RAM, Registers, and Flash.
b. What should be the initial value of the stack pointer when the processor boots up?

Explanation / Answer

2. Identify each of the following memory technologies:

a. Volatile, requires periodic refresh

Answer: DRAM

Explanation: it is one kind of a volatile memory.in directive to recollect the data in DRAM it should be refreshed periodically.

b. Volatile, does not require periodic refresh

Answer: SRAM

Explanation: it is volatile memory that does not feed to be refreshed periodically it is opposite for DRAM it comprises transistors and holds the data as long as power supply is passed data is measured to be enduring while power is on in the system

c. Non-volatile, programmed once

Answer: FROM

Explanation: it is also known as one time a programmable nonvolatile memory once programmed is stored permanently

d. Non-volatile, erasable using UV light

Answer: EROM

Explanation: It is read only memory that can be erased through ultra violet rays or light and can be re used

e. Non-volatile, electrically erasable (identify two)

Answer: EEPROM

Explanation: it is nonvolatile memory whose contents can be erased using electrical pulse voltage and can be programmed

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote