{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ECE-2325-Lab-2 - Determine the carry flag and store it in...

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

View Full Document Right Arrow Icon
Introduction This lab is designed to show us a little about assembly language for the Motorola 68HC12. We do a few operations to manipulate some data and access/store to memory. Equipment • 68HC12 evaluation board • MiniIDE and its respective requirements Procedure 1. Enter relevant data into memory 2. Load data into Accumulators A and B and treat as Accumulator D 3. Add a 16-bit number to Accumulator D 4. Store this number in a specific memory location 5.
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
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Determine the carry flag and store it in the next memory location 6. Copy 40 bytes from one location in memory to another 7. View memory contents and record results Results This data has been entered at memory location $100A: 00 00 01. The first two bytes are the result of the adding operation $1000 + $F000, and the third bit is the stored carry flag. We then entered an ASCII message starting at memory location $1010 and copied it to memory location $1040....
View Full Document

{[ snackBarMessage ]}