




























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Computer Architecture which includes Machines Address Memory, Notes About Memory, Assembly Language Programmer, Instruction Support for Functions, Jump Register, Nested Procedures, Register Values, Memory Organization etc. Key important points are: Pipelined Mips Processor, Machine Language, Execution of Machine Instructions, Instruction Decode, Arithmetic-Logic Unit, Addition and Subtraction, Logical Operations, Unsigned Numbers
Typology: Slides
1 / 36
This page cannot be seen from the preview
Don't miss anything!





























We concentrate first on the arithmetic-logic unit
Suppose we want to express -30 as an 8bit integer in two’s complement representation.
30 = 0001 1110 (^2)
Invert the bits to obtain the negative number:
1110 0001 (^2)
Add one:
-30 = 1110 0010 (^2)
Advantages and Disadvantages
0000 0000 0000 0000 0000 0000 0000 0000two = 0ten 0000 0000 0000 0000 0000 0000 0000 0001two = +1ten 0000 0000 0000 0000 0000 0000 0000 0010two = +2ten ... 0111 1111 1111 1111 1111 1111 1111 1110two = +2,147,483,646ten 0111 1111 1111 1111 1111 1111 1111 1111two = +2,147,483,647ten 1000 0000 0000 0000 0000 0000 0000 0000two = –2,147,483,648ten 1000 0000 0000 0000 0000 0000 0000 0001two = –2,147,483,647ten 1000 0000 0000 0000 0000 0000 0000 0010two = –2,147,483,646ten ... 1111 1111 1111 1111 1111 1111 1111 1101two = –3ten 1111 1111 1111 1111 1111 1111 1111 1110two = –2ten 1111 1111 1111 1111 1111 1111 1111 1111two = –1ten