Question

Divide 8 bit integer data located in address 20H by another 8 bit integer data located...

Divide 8 bit integer data located in address 20H by another 8 bit integer data located in address 21H, and store the 8 bit integer result into address 25H.

Note: Use the Assembler language of the PIC16F877 processor.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

to R1 MOURO, #2.04 • set sowice address 204 to Ro AG MOV R1, #254 set destination address 25H MOVA @ Roo, take the dividend f

Add a comment
Know the answer?
Add Answer to:
Divide 8 bit integer data located in address 20H by another 8 bit integer data located...
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
  • Q2. (4 pts) A certain microprocessor (uP) has a 37-bit address bus and a 32-bit wide...

    Q2. (4 pts) A certain microprocessor (uP) has a 37-bit address bus and a 32-bit wide data bus. Here, similar to Q1, we are using byte packing, that is, we should be able to access each byte in the memory. Assume that you are using a memory chips organized as 128K by 8 bits. Q2-1.Divide the 37-bit address lines into page number bits, offset bits and byte address bits. Q2-2.How many 128K by 8 memory devices would you need to...

  • 22) Explain how storage space allocated for initialized data by the following instructions TSU ENGINEERING DB...

    22) Explain how storage space allocated for initialized data by the following instructions TSU ENGINEERING DB Y NUMBER DW 45066 NEG NUMBER DW -45066 23) All computers use the addition process to implement subtraction (TRUE/FALSE)? 24) Computers use Adders Circuitry in conjunction with 2's complement circuitry to perform subtraction 25) Write an assembly language instructions to store 25H and 5H in microprocessor registers, and then: () Multiply 25H by 5H, and(ii Divide 25H by 5H 26) Given the logical address...

  • Design a computer system with an 8-bit address bus, an 8-bit data bus and it uses...

    Design a computer system with an 8-bit address bus, an 8-bit data bus and it uses isolated I/O. It has: 1128 bytes of PROM starting at address 00H (H meaning in hexadecimal) constructed usin ( one 64x8 chip and multiple 32x2 chips; g (2) 96 bytes of RAM constructed 32x4 chips; (3) an output device with a READY signal at address ABH; (4) an input device with a READY signal at address CDH; (5) a bidirectional input/output device with a...

  • 3] An SRAM chip's address is 12-bit wide, and the data is 8-bit wide. Four of these chips are to ...

    please help 3] An SRAM chip's address is 12-bit wide, and the data is 8-bit wide. Four of these chips are to be used, to encompass 16-bit address ranges (where each character below represents a HEX digit): . CxxX In each case, "xxx" spans 0 00to FFF. Each chip has a chip enable (CE) input in negative logic. Design the system using four 4-input gates for decoding (and no decoder chip). Fully label your diagram for clarity and completeness 3]...

  • A mechatronics project based on general microcontroller has 8 bit data bus and 16 bit address...

    A mechatronics project based on general microcontroller has 8 bit data bus and 16 bit address bus. It is required to have access to the following devices: ? 1 Rom of size 8 Kbytes ? 1 RAM of size 16 Kbytes ? 4 Analog to digital converter. Each one has a data bus of 1 byte and register space of 8 data bytes ? 1 Digital to analog converter that has 8 bits data.? 4 display LEDs and 4 different...

  • 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...

  • 4. Let A =-120 and B = -58. Use 8-bit registers to store the two numbers...

    4. Let A =-120 and B = -58. Use 8-bit registers to store the two numbers (use 2's complement representation). Add now the contents of the two registers and store the result in another 8-bit register. Explain whether the stored result is correct or not.

  • Design a 256KB (note the B) direct‐mapped data cache that uses a 32‐bit address and 8...

    Design a 256KB (note the B) direct‐mapped data cache that uses a 32‐bit address and 8 words per block. Calculate the following: How many bits are used for the byte offset and why? How many bits are used for the set (index) field? How many bits are used for the tag? What’s the overhead for that cache?

  • please show your steps and note that question 2 has a byte address of 000002 not...

    please show your steps and note that question 2 has a byte address of 000002 not 000000. thanks Hex Viewer Case Study to be used for questions 1: Review this excerpt from a hex viewer. You can assume that all data shown is in hex. You can assume that two's complement is used to store signed integers with a 16-bit architecture which is byte addressable. Refer to this excerpt to answer the questions below: 000000 8A00 8E00 CFA1 48BF 7900...

  • 5 Exercises Now that everything is working you can try the following exercises. To complete them you will need to refer...

    5 Exercises Now that everything is working you can try the following exercises. To complete them you will need to refer to the documentation in Appendix A- The MiteASM Assembler and Appendix B - The MiteFPGA Processor. Write an assembly language program for an over counter for a cricket umpire. This should display a count on the 7-segment display. The count should increase by 1 when button 0 is 1. pressed. It should reset to 0 when button 1 is...

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