Register bits logical left arithmetic shift asl

Info iconThis preview shows page 1. Sign up to view the full content.

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

Unformatted text preview: tion Instructions Register- bits Logical Left Shift (LSL). Register- bits Logical Left arithmetic Shift (ASL). Register- bits Logical Right Shift (LSR). Register- bits Logical Right arithmetic Shift (ASR). Register- bits Rotate Right (ROR). Register bits Rotate Right with carry also extended for rotating (RRX). 2008 Chapter-2 L13: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 7 Arithmetical Instructions • • Three operands from the registers. One source may however, be by immediate operand addressing in addition and subtraction . Add without carry two words and the result is in the third operand (ADD). Add with carry two words and the result is in the third operand (ADC). Subtract without carry two words and the result is in the third operand (SUB). [Carry bit used as borrow.] Subtract with carry two words and the result is in the third operand (SBC). 2008 Chapter-2 L13: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 8 Arithmetical Instructions Subtract reverse (second source with the...
View Full Document

Ask a homework question - tutors are online