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: 3806125 • 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 solitary kind of a unstable memory. In instruction to remember the information in DRAM it should be refreshed periodically.

b. Volatile, does not require periodic refresh

Answer: SRAM

Explanation: It is unpredictable recollection that do not feed near exist re-energized periodically it is contradictory for DRAM it comprise transistors plus holds the information as extensive since power supply is accepted information be measured toward be continuing at the same time because power is on within the scheme

c. Non-volatile, programmed once

Answer: FROM

Explanation: it is also acknowledged as solitary time a programmable nonvolatile reminiscence once involuntary is soared lastingly

d. Non-volatile, erasable using UV light

Answer: EROM

Explanation: It be read only recollection with the intention of be able to be erase through ultra indigo rays or luminosity and can subsist re used

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

Answer: EEPROM

Explanation: it is nonvolatile recall whose inside can be erase using electrical pulse electrical energy and can be involuntary

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