4- What should be the value of { N } loaded to CX register in

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
icon
Related questions
Question
i need the answer quickly
4- What should be the value of {N} loaded to CX register in the following assembly
subroutine so that its execution time will be 150
if
know that the operating
usec,
you
frequency of the microprocessor is 10 MHz?
MySub Proc Near
PUSH CX
PUSH reg
POP reg
1IT
8T
MOV regreg
MOV regvalue 4T
LOOP
CALL
RET
NOP
2T
MOV CX, N
JNZ
DEC reg
164T
3T
Back: NOP
17/ST
NOP
19T
LOOP Back
ADD regreg
3T
РОP СХ
16T
3T
RET
ADD reg value
4T
MySub ENDP
Transcribed Image Text:4- What should be the value of {N} loaded to CX register in the following assembly subroutine so that its execution time will be 150 if know that the operating usec, you frequency of the microprocessor is 10 MHz? MySub Proc Near PUSH CX PUSH reg POP reg 1IT 8T MOV regreg MOV regvalue 4T LOOP CALL RET NOP 2T MOV CX, N JNZ DEC reg 164T 3T Back: NOP 17/ST NOP 19T LOOP Back ADD regreg 3T РОP СХ 16T 3T RET ADD reg value 4T MySub ENDP
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
8086 Microprocessor
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L