ECE 4436 Chapter Notes - Chapter 5: Opcode, Codewarrior, Operand

58 views6 pages

Document Summary

. lst file: produced by assembler to use when debugging and documenting your work, abs. Absolute line number including all files and macro lines: rel. Relative line number for current source file: loc. Address in memory: obj. code assembled code bytes, source line comments that introduce the program. Assembler converts the program"s operations to opcodes and operand codes. Absolute assembler all source code for the program must be in one file. Four fields (separated by white space: label, operation mnemonic, operands, comments. Label field: a symbol followed by a colon. Must start in 1st column (if doesn"t end with a colon) Does not repeat: ex: test: or test_data2: Opcode or operation field: assembler directive, must be preceded by at least one white space, case-insensitive. Operand field: data field or what the opcode is operating on, produce the binary code for the operand, preceded by at least one whitespace, can be. Numerical values that do not change during the program: decimal.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers