1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal.
2
b) Repeat above but for when the binary numbers are in two’s complement form. Comment on the results.
2. Add the following additions of unsigned hexadecimal numbers.
Indicate whether or not the sum overflows an 8-bit result.
3. Shown below are the contents of a 16-bit resister. Determine the decimal value represented by the binary number if:
a) the binary number is unsigned
b) the binary number is in two’s complement form.
4. FIGURE 1 shows how a 3 to 8 line decoder (74138) can be used in conjunction with NAND gate (74133) to connect a set of switches to the data bus of a microprocessor system via buffers
(74367). Answer the following questions relating to the diagram:
a) What address, in HEX, is required on the address bus in order to read the switches?
b) RD and MEMRQ are control lines from the CPU. What must their logic state be in order to read the switches?
5. This question refers to the C68MX11 CPU, details of which accompany this assignment.
a) With reference to the block diagram of the CPU, what is the purpose of the CCR?
b) Again with reference to the block diagram, outline how the processor would add two numbers held in ACC.A and ACC.B the result being stored in memory. Identify the addressing modes that would be employed in this addition.
c) Give the address range in hex that the PC could access.
6. Three widely used but quite different processors are Intel & ARM and Atmel’s AVR.
Briefly contrast the architecture of these processors and how this relates to their application niche.
1. a) Perform the following binary subtractions of unsigned binary numbers. Convert
your answer to decimal.
i) 100110012 – 010001002
ii) 110100102 – 101101102
b) Repeat above but for when the binary numbers are in two’s complement form.
Comment on the results.
c). Add the following additions of unsigned hexadecimal numbers. Indicate whether or not the sum overflows an 8-bit result.
a) 0716 + 0916
b) 1316 + 2816
c) AB16 + 3E16
d) 8F16 + AD16
d). Shown below are the contents of a 16-bit resister. Determine the decimal value represented by the binary number if:
i) the binary number is unsigned
ii) the binary number is in two’s complement form.
1 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 .
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more