Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can anyone help me to solve this,please? ASM code 25. Estimate the time wasted in CSE, NSU, and EEE sub-routines for the following ASM code,
Can anyone help me to solve this,please?
ASM code 25. Estimate the time wasted in CSE, NSU, and EEE sub-routines for the following ASM code, given that MCU is connected with 16 MHz crystal oscillator: CSE-Sub-Routine MCS NSU-Sub-Routine MCS RISH-Sub-Routine MCS MOV RO, # 100 2 MOV RO, # 90 H 2 MOV RO, # 90 H 2 LX: MOV R1, #10 2 LX: MOV R1, #05 H 2 EEE: MOV R1, # 50 2 LY: NOP 1 LY: NOP 1 LY: NOP NOP NOP NOP NOP 1 NOP NOP DJNZ R1, LY 3 DJNZ R1, LY 3 DJNZ R1, LY DJNZ RO, LX DJNZ RO, LX DJNZ RO, EEE RET 2 RET RET 1 1 1 1 1 1 3 3 3 3 2 2 26. An array of 8 LEDs are connected with MCU 8051 through port 1. The MCU 8051 also is connected to a 16 MHz crystal oscillator. Write an ASM code to blink all the LEDs in an alternative pattern (i.e. two consecutive LEDs will be at different states) with a time delay of 1.5 ms. for 600 timesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started