CSC 230 Midterm: CSC 230 UVic Csc 230 Midterm Feb 2001

104 views9 pages

Document Summary

C sc 230 - computer architecture and assembly language - Write your answers on the question paper in the spaces provided. Use only the handout provided for extra notes. In the picture below, an isolated i/o architecture is shown with the size of the address buses and data buses labelled. I/o address bus (16 bits) peripheral peripheral peripheral. Question 2 [10 marks]. (a) assuming a 2"s complement representation, convert the following numbers from decimal to 8-bit binary and to its equivalent hexadecimal: 36 10 (b) given the 4-bit hexadecimal number, state its decimal equivalent according to the assumption of its representation listed in each heading: Give one or more 68hc11 instructions to swap the contents of the two bytes labelled p and q, previ- ously declared as: Assume accumulator a contains the number -3610 and the 68hc11 instruction cmpa #10 has been executed. Which of the following branch instructions will result in the branch being taken towards.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents