Setting
The 8086 has no instruction to directly set or reset the trap flag. These operations are done by pushing the flag register on the stack, changing the trap flag bit to what the programmer wants it to be, and then popping the flag register back off the stack. The instructions to set the trap flag are:
- PUSHF ; Push flags on stack
- MOV BP,SP ; Copy SP to BP for use as index
- OR WORD PTR,0100H ; Set TF flag
- POPF ; Restore flag Register
Read more about this topic: Trap Flag
Famous quotes containing the word setting:
“The new sound-sphere is global. It ripples at great speed across languages, ideologies, frontiers and races.... The economics of this musical esperanto is staggering. Rock and pop breed concentric worlds of fashion, setting and life-style. Popular music has brought with it sociologies of private and public manner, of group solidarity. The politics of Eden come loud.”
—George Steiner (b. 1929)
“We dont arrive at it by standing on one leg or on the first day of our setting outbut though we may jostle one another on the way that is no reason why we should strike or trampleelbowings enough.”
—George Gordon Noel Byron (17881824)
“The setting sun is reflected from the windows of the alms-house as brightly as from the rich mans abode; the snow melts before its door as early in the spring. I do not see but a quiet mind may live as contentedly there, and have as cheering thoughts, as in a palace.”
—Henry David Thoreau (18171862)