ECE-2325-Lab-2 - 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

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 DocumentRight 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

This note was uploaded on 04/11/2008 for the course ECE 2325 taught by Professor Fernandorios-guiterrez during the Fall '06 term at University of Minnesota Duluth.

Page1 / 2

ECE-2325-Lab-2 - 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

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

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