Question

For each of the following instruction sequences, find the 9-bit address in hex and memory bank...

For each of the following instruction sequences, find the 9-bit address in hex and memory bank actually used by the last instruction.

a. bsf STATUS, RP0
bcf STATUS, RP1
movf H'10',W

b. bsf STATUS, RP0
bsf STATUS, RP1
movf H'21',W

c. bcf STATUS, RP0
bcf STATUS, RP1
movf H'32',W
0 0
Add a comment Improve this question Transcribed image text
Answer #1

syntax: movf f,d /*used for moving f to d /*

a) move 16 to w register /* (H'10'=16)/*

b)move 33 to w register /* (H'21'=33)/*

c)move 50 to w register /* (H'32'=50)/*

Add a comment
Know the answer?
Add Answer to:
For each of the following instruction sequences, find the 9-bit address in hex and memory bank...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 11. Suppose the 32-bit hex value ABCD4321 has been stored in memory starting at address 1000...

    11. Suppose the 32-bit hex value ABCD4321 has been stored in memory starting at address 1000 (in decimal). Assuming byte-addressable memory, show the contents of the following memory locations if the machine is little endian and if it is big endian. address (in decimal) Contents in hex (Gif little endian) Contents in hex (if big endian) 1000 1001 1002 1003

  • 6. In each of the instructions shown below, assume that the label LOOP corresponds to memory...

    6. In each of the instructions shown below, assume that the label LOOP corresponds to memory address   0x40CE0078. a) (5) Show in hex the 32-bit machine code for the instruction    bltzal $14,LOOP Assume that the machine code will be located at address 0x40CE8880. b) (5) Register $14 contains negative 2 in two’s complement form. Show, in hex (0xdddddddd), the 32-bit contents of all registers within the CPU that are modified when the instruction bltzal $14,LOOP is executed.. c) 5) Show...

  • Exercise 1. What is the size of the memory for the microprocessor if it has 24-bit...

    Exercise 1. What is the size of the memory for the microprocessor if it has 24-bit address lines (bus)? Furthermore, give the starting address and the last address of the memory. 2. List the operation modes of the ARM Cortex-M3. 3. What is the function of register R13? Register R14? Register R15? 4. On an ARM Cortex-M3, in any given mode, how many registers does a programmer see at one time? 5. Which bits of the ARM Cortex-M3 status registers...

  • 2) (25 points) Consider a hypothetical mieroprocessor generating 16-bit addresses with 32-bit data accesses (i.e. each access retrieves 32 bits for each address). a. What is the maximum memory ad...

    2) (25 points) Consider a hypothetical mieroprocessor generating 16-bit addresses with 32-bit data accesses (i.e. each access retrieves 32 bits for each address). a. What is the maximum memory address space (i.e., mmber of addresses) that the processor can access directly? What is the maximum memory capacity (in bytes) for this microprocessor? b. c. What is the last memory address that the CPU can access? Write your answer in decimal. What is the maximum memory address space that the processor...

  • Given: 2 MB of physical R/W memory, composed of multiple 256KB chips, a CPU with a 21 bit address...

    Given: 2 MB of physical R/W memory, composed of multiple 256KB chips, a CPU with a 21 bit address bus and an 8 bit data bus. Answer the following questions. h. (1 pt) Suppose I replaced the 256K RAM chip at the highest address, with a 256K EPROM chip, what would the address be of the lowest byte in the EPROM? Given: 2 MB of physical R/W memory, composed of multiple 256KB chips, a CPU with a 21 bit address...

  • Problem 4 (15pts): hines iom address oing MIPS memory with data shown in hex, which are located i...

    Problem 4 (15pts): hines iom address oing MIPS memory with data shown in hex, which are located in little-endian byte on rough 15. Show the result of the MIPS instruction "w Ss0, 4(Sa0)" for an byte orders, where $a0 4 Address Contents Address Contents 0a 1 b 2c 3d 8a 9b 10 b4 c5 6d 7e 8f 5f 13 14 15 70 (b) (10pts)Ass specified units. ume we have the following time, performance and architecture parameters in the Ec execution...

  • Anyone explain to (i), (ii) How can we get the instruction words and R8=?[hex]? (i) instruction...

    Anyone explain to (i), (ii) How can we get the instruction words and R8=?[hex]? (i) instruction words[hex] is 0x4508, and R8= 0xF002 How can I get that? (ii) instruction words[hex] is 0x4548 and R8=0x0002 How can I get that? Consider the following instructions given in the table below. For each instruction determine its length (in words), the instruction words (in hexadecimal), source operand addressing mode, and the content of register R7 after execution of each instruction. Fill in the empty...

  • Consider a virtual memory system with the following properties: 36 bit virtual byte address, 8 KB...

    Consider a virtual memory system with the following properties: 36 bit virtual byte address, 8 KB pages size, and 32 bit physical byte address. Please explain how you determined your answer. a. What is the size of main memory for this system if all addressable frames are used? b. What is the total size of the page table for each process on this processor, assuming that the valid, protection, dirty, and use bits take a total of 4 bits and...

  • Assignment 2 1. In real-address mode, convert the following segment offset address to a linear address:...

    Assignment 2 1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2. In real-address mode, convert the following segment offset address to a linear address: 0CD1:02E0 3. What is the duration of a single clock cycle (in nanoseconds) in a 3.4 GHz 4. A hard disk rotates at 4200 RPM (rotations per minute). What is the timeof one rotation in milliseconds? 5. Which Intel processor was the first member of the IA-32 family? 6....

  • Problem 4 (15pts): (a) (5pts) Consider the following MIPS memory with data shown in hex, which...

    Problem 4 (15pts): (a) (5pts) Consider the following MIPS memory with data shown in hex, which are located in memory from address 0 through 15, Show the result of the MIPS instruction "Iw Ss0, 4(Sa0)" for machines in little-endian byte orders, where Sa0 8 Address Contents Address Contents 4¢ 8 c5 6d 1 9 2 7e 8f 66 10 70 11 8a Oa 12 13 14 15 1b a3 b4 2c 6 3d 7 (b) (10pts)Assume we have the following...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT