lab7_suppliment1

lab7_suppliment1 - ME576 Computer Control of Manufacturing...

Info iconThis preview shows pages 1–3. 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
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 9

lab7_suppliment1 - ME576 Computer Control of Manufacturing...

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

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