This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ME576 Computer Control of Manufacturing Processes Lab7 Supplement Microprocessor (6809) X 16 bits Y 16 bits U stack pointer H stack pointer PC A (8 bits) B (8 bits) N Z V C Operations Arithmetic Addition ADD ex) A + M → A A + I → A ADDB ex) B + B → B B + I → B Multiplication MUL ex) A * B → D Subtraction SUB ex) A - M → A A - I → A SUBB ex) B - M → B B - I → B Rotation and shift Arithmetic shift to the right ASR ASRB Logic or arithmetic shift to left LSL, LSLB Logic shift to the right Logic instruction Accumulator Index registers (for indexed addressing modes) ME576 Computer Control of Manufacturing Processes Lab7 Supplement Logic AND AND : Logic AND between A&M or A&I ANDB : Logic AND between B&M or B&I Logic OR OR : Logic OR between A&M or A&I ORB : Logic OR between B&M or B&I Exclusive OR XOR : Logic XOR between A&M or A&I XORB : Logic XOR between B&M or B&I Incrementing, decrementing, reset Incrementing INC Incrementing accumulator A or M by 1 INCB Incrementing accumulator B by 1...
View Full Document
This document was uploaded on 12/28/2011.
- Fall '09