Quiz1_s10 Solutions

Quiz1_s10 Solutions - wArray WORD 0,1,2,3,4,5,6,7,8,9...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Quiz #1 – Spring 2010 - SOLUTIONS 1. The first character of an identifier must be one of the following: letter, underscore, @, ? or $ . 2. Show the stored memory content for the following data variables: 5000h var1 DWORD 1, 2, 3, 4, 5 var2 BYTE 2 DUP (“B”), 64, ?, ? 5000h: 01 00 00 00 02 00 00 00 5008h: 03 00 00 00 04 00 00 00 5010h: 05 00 00 00 42 42 40 ?? 5018h: ?? 3. Add the size of wArray array, which follows, to your code:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: wArray WORD 0,1,2,3,4,5,6,7,8,9 wArrayList = ($ - wArray)/2 4. Describe the purpose of the NOP instruction. Used to kill time in the code when executed. 5. What do the following directives indicate to the assembler: org 6000h .stack 1000h The STACK area begins at 6000h in data memory and is 1000h bytes in size....
View Full Document

Ask a homework question - tutors are online