CE-320-10 - Click to edit Master subtitle style Jaerock...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Click to edit Master subtitle style Jaerock Kwon Microcomputers I - Electrical and Computer Multiple-Precision Arithmetic Lecture 10 Microcomputers I - Electrical and Computer Jaerock Kwon Jaerock Kwon Microcomputers I - Electrical and Computer Goals of todays lecture Use multiple precision arithmetic to add and subtract large numbers. Practice writing programs in assembly. Microcomputers I - Electrical and Computer Jaerock Kwon Jaerock Kwon Microcomputers I - Electrical and Computer Precision? The term precision is often used to refer to the size of a unit of data manipulated by the processor. Single-precision refers to instructions that manipulate one byte at a time. ADDA, ADDB, ABA, SUBA, SUBB, SBA Double-precision refers to two-byte operation. ADDD, SUBD ABX: (B) + (X) X, ABY: (B) + (Y) & Y Microcomputers I - Electrical and Computer Jaerock Kwon Jaerock Kwon Microcomputers I - Electrical and Computer Multiple-Precision Adding and subtracting numbers longer than single precision introduce an issue . Carries and borrows need to propagate through a number. Microcomputers I - Electrical and Computer Jaerock Kwon Jaerock Kwon Microcomputers I - Electrical and Computer Example Adding two quadruple-precision numbers Multi-precision addition is performed one byte at a time, beginning with the least significant byte. 92 FF 45 B7 hex 6D 32 5D 88 hex Microcomputers I - Electrical and Computer ORG $1200 num1 DC.B$92, $FF, $45, $B7 num2 DC.B$6D, $32, $5D, $88 ans DS.B4 ORG $2000 LDAA...
View Full Document

This document was uploaded on 11/12/2009.

Page1 / 13

CE-320-10 - Click to edit Master subtitle style Jaerock...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online