Professional Documents
Culture Documents
1
2015-8162
CSC 112.1-CS Computer Organization and Architecture Laboratory
First Semester, SY 2019-2020
Assignment No. 1
Due: October 9, 2019 at 11:55PM
Complete the stubbed looping delay subroutine below. The looping delay subroutine,
including the ACALL instruction for invoking it, must consume exactly 285,696 machine
cycles (310 ms) running on the 8051 trainer board hardware. You can use the simulation
facility of the MCU 8051 IDE to test and simulate your completed program.
ORG 0000H
ANIMATE_LOOP: MOV P2,#01111110B
DELAY_LOOP: ;
;
; this subroutine, including the ACALL
; instruction for invoking it, must consume
; exactly 285,696 machine cycles (310 ms)
; running on the 8051 trainer board hardware
;
RET
END
1
Steve E. CLar Homework No. 1
2015-8162
ACALL DELAY_LOOP ; 2C