Lecture 7 - Basic Instruction Set shift logical instr

Lecture 7 - Basic Instruction Set shift logical instr -...

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

View Full Document Right Arrow Icon
ECE 265 LECTURE 7 The M68HC11 Basic Instruction Set Logical, Shift and Rotate, Data Testing 10/11/2010 1 ECE265
Background image of page 1

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

View Full Document Right Arrow Icon
Joanne E. DeGroat, OSU Lecture Overview The M68HC11 Basic Instruction Set The Logical instructions to perform Boolean operations The Data Testing The Shift and Rotate instructions REF: Chapter 3 and the appendix that details the instructions. 10/11/2010 2 ECE265
Background image of page 2
Joanne E. DeGroat, OSU The Logical Instructions Instructions to perform Boolean operations on data Instructions for AND NOT and OR operation 10/11/2010 ECE265 3
Background image of page 3

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

View Full Document Right Arrow Icon
Joanne E. DeGroat, OSU AND operation Description: AND the A (or B) accumulator with the operand of the instruction CC effects: N Z set per result and Z cleared Forms: ANDA (opr) ANDB(opr) And can be immediate mode or a memory location ANDA #$FF What does this do? ANDB #$00 What does this do? 10/11/2010 ECE265 4
Background image of page 4
Joanne E. DeGroat, OSU AND operation and masking Masking is keeping only those bits you are interested in. The reaming bits are “masked” out.
Background image of page 5

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

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

{[ snackBarMessage ]}

Page1 / 20

Lecture 7 - Basic Instruction Set shift logical instr -...

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