test_32 - test_32.asm 1 ;* 2 ; file = test_32.asm Author:...

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

View Full Document Right Arrow Icon
test_32.asm 1 ;************************************************************************************** 2 ; file = test_32.asm Author: Dr. Eric M. Schwartz Date: 13 Feb 2012 3 ; 4 ; Description: 5 ; This program will be used to test moving 32 bits at a time 6 ; between pairs of memory, the accumulator, and the auxiliary reisters 7 .global _c_int00 8 WDT .set 0x7029 ; watch dog timer 9 SCIB_VECTOR .set 0x0DC4 ; will also work with 22-bit addresses 10 ;***************************** Program Constants ************************************** 11 ; none 12 ;******************* DATA ALLOCATION SECTION - Variables/Data ************************* 13 ;DATA section, starting at 0xA000. 14 .data 15 NUM1 .long 0x89ABCDEF ; stores in A000 and A001 16 NUM2 .long 0x01234567 ; stores in A000 and A001 17 18 ;.BSS SECTION, starting address is 0xB000 19 .bss Var1, 2 ; set up 32 bits in memory 20 .bss Var2, 2 ; set up 32 bits in memory 21 ;.global directive lets you to see the assigned addresses in map file. 22
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

test_32 - test_32.asm 1 ;* 2 ; file = test_32.asm Author:...

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