cpu.x86.assembler: PUSHF, POPF instructions

Joe Groff 2011-11-04 11:23:11 -07:00
parent d4f24f44c3
commit a944e41e79
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 , ;