Question: Create a assembler language for the question below. The assembler language if for 8032-generic microcontroller. Please also refer the type of code below. 1. Question
Create a assembler language for the question below. The assembler language if for 8032-generic microcontroller. Please also refer the type of code below.
1. Question

2. example of code I want
Theres alot of type of assembler language code, I want like this. Below is an example of assembler language code for a led clock. You may use that as example.



3. FInally the image of microcontroller

THANK YOU SO MUCH!!
7. Stopwatch with LED display 7.1. Required Hardware: LED display; pushbuttons 7.2. Requirements 1. Required resolution 0.01s 2. Max measured time 99min99.99s 3. Lap time queue with defined size at compilation time. 4. Push buttons: a. Buttons: START/ STOP; LEAP/RESET 5. Operation overview a. After reset stopper gets in the READY state with a display of 0.00.00 b. START/STOP - starts the time measurement placing in RUN mode c. START/STOP - stops the time measurement placing in STOP mode d. Pressing the LAP button holds on the display moment of pressing while time is counted in the background. User is notified by pulsing point with 1Hz and 50% duty e. In LEAP time mode pressing START/STOP returns to the curren time f. In LEAP time mode pressing LEAP updates the current LEAP time g. In the STOP mode pressing LEAP resets the stopwatch h. In the STOP mode pressing START restarts time measurement i. Suppress printing nonsignificant zeros MOVC A,@A + DPTR MOV @R1,A RET ; Interrupt dedicated to RTC service ; f(TO)=10Hz TO_ISR: MOV TH0,\#10H PUSH PSW PUSH ACC MOV A,R PUSH ACC DJNZ TO_DV,TO_ISR_EX MOV TO_DV,\#10 ; Increment clock time MOV RO,\#CLOCK ACALL CLOCK_INC SETB CL_HC TO_ISR_EX: POP ACC MOV RO,A POP ACC POP PSW RETI ; Interrupt dedicated to display service. LED ; f(T1)=480Hz T1_ISR: ;Adjust timer to 480Hz1280 cycles only!!! MOV TH1,\#251 PUSH PSW PUSH ACC MOV A,R PUSH ACC \( \begin{aligned} \text { T1_ISR_EX: } & \\ \text { POP } & \text { ACC } \\ \text { MOV } & \text { RO, ACC } \\ \text { POP } & \text { ACC } \\ \text { POP } & \text { PSW } \\ \text { RETI } & \end{aligned} \) ; Unused interrupts END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
