29 Sep Instructions:?? 1. a) Perform the following binary subtraction
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 .
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.