Question: Required Problems: Write a short description for each of the following assembler directives, and provide an example of usage 1. a. ORG b. EQU d.
Required Problems: Write a short description for each of the following assembler directives, and provide an example of usage 1. a. ORG b. EQU d. DCW e. DC.L f. RMB E FCB 2. For a line of assembly code, where is the label located? 3. For a line of assembly code, where is the mnemonic located? 4. For a line of assembly code, where is the comment located? Use the following snippet of code to answer problems 5-7. Assume the code has been executed prior to the problem- remember that all array elements are zero based array tcb $43,$12,S8E, $90, $7A, SEB, $56, $09 LDX #array 5. Write some assembly code that loads the 3" element of the array into accumulator A. 6. Write some assembly code that stores the constant $88 into the 5h element of the array 7. Write some assembly code that loads the 1t and 2 elements into index register Y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
