ch4-assembler

ch4-assembler - Assembler details EE 3750 Assembly Language...

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

View Full Document Right Arrow Icon
Assembler details EE 3750 2 Assembly Language Program Instructions Statements like ADD AX,BX Translated into machine code Directives Statements to direct the assembler on how to proceed in the assembly process Do not generate machine code Table 4-21 of Brey lists directives
Background image of page 1

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

View Full DocumentRight Arrow Icon
3 Assembly Language Program Labels Cannot exceed 31 characters Cannot be an instruction mnemonic or a directive Consists: » Alphabetic characters both upper and lower case. » Digits 0 through 9. » Special characters ( ? ), ( . ), ( @ ), ( _ ), and ( $ ). First character cannot be a digit The period can only be used as the first character, but its use is not recommended. Several reserved words begin with it in later versions of MASM. Must end with a colon when it refers to an opcode generating instruction Does not need to end with a colon when it refers to a directive 4 Assembly Language Program Comments: Begin with a “;” Ignored by the assembler
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

ch4-assembler - Assembler details EE 3750 Assembly Language...

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

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