Week 7 Chapter 6 Questions
A WHILE loop can be constructed with a CMP instruction at the bottom of the loop, followed by
a conditional jump instruction.
In a finite-state machine, transitions between states usually occur when a new value has been read
The following finite-state machine could be used to successfully validate the string "234+":
Fill in the Blanks and Short Answer
In the following instruction sequence, show the changed values of AL where indicated, in binary:
In the following instruction sequence, show the changed values of AL where indicated, in
Code a single instruction that clears bits 0, 3, and 4 in the AL register.
Code instructions that jump to the label L1 when either bit 2 or 3 is set in the DL register (do not
Code instructions that jump to the label L2 when the signed integer in BL is greater than
10. Code a label named