Problem 2 [10 points] Are each of the following 10 statements true or false? Use the table at the bottom of this page to
Posted: Fri Jul 08, 2022 6:21 am
statement. a. The range of unsigned integers that can be represented with 5 bytes is 0 to (25-1) b. Memory location 256 can be written using direct addressing mode (e.g., using the instruction STAA 256). c. The instruction BSET DDRJ,5 configures pin 5 of Port J as an output and the rest for Port J as inputs. d. END, ORG, and the EQU assembler directives have no effect on the runtime of a program. e. LDX LABEL accesses memory and loads the data from location "LABEL" and "LABEL+1" into X, while LDX #LABEL loads the address "LABEL" stands for into f. X. The instruction MOVB does not affect the CCR. g. The two instructions ASLA and LSLA are two names for the exact same functionality. h. LDAA 1,X+ loads the same byte into register A as LDAA 1,X does. Index register X will however be post-incremented in the first instruction. i. The duty cycle of a 1 Hz square wave with a 400 millisecond negative (low) pulse width is 30%. j. In signed 2's compliment 8-bit math, 127 + 1 = -128 a Answer (fill the table below with T for true and F for false for each question above): d h i j b с e f
Problem 2 [10 points] Are each of the following 10 statements true or false? Use the table at the bottom of this page to specify your answer for each