cpu.x86.assembler: PUSHF, POPF instructions

db4
Joe Groff 2011-11-04 11:23:11 -07:00
parent d9293337bb
commit 4ef2a9b4f0
1 changed files with 5 additions and 0 deletions

View File

@ -958,3 +958,8 @@ PRIVATE>
! interrupt instructions
: INT ( n -- ) dup 3 = [ drop HEX: cc , ] [ HEX: cd , 1, ] if ;
! push/pop flags
: PUSHF ( -- ) HEX: 9c , ;
: POPF ( -- ) HEX: 9d , ;