Question 79

For the below mentioned 8051 assembly code
Timeelapse : MOV RO, #100
Part 1 : MOVRI, #50
Part 2 : MOV R2#248
Part 3 : DJNZ R2, Part 3
: DJNZ R1, Part 2
: DJNZ RO, Part 1
Assumptions:
* Microcontroller is running at 12 MHz frequency and 1 machine cycle is having 12 clock cycles
* MOV instruction takes 1 Machine cycle
* DJNZ instruction takes 2 Machine cycle
Calculate time required for execution of Part 1


Create a FREE account and get:

  • Download Maths Shortcuts PDF
  • Get 300+ previous papers with solutions PDF
  • 500+ Online Tests for Free

cracku

Boost your Prep!

Download App