URL
https://opencores.org/ocsvn/zet86/zet86/trunk
Subversion Repositories zet86
[/] [zet86/] [tags/] [INITIAL/] [tests/] [i86/] [03_control.s] - Rev 49
Compare with Previous | Blame | View Log
# Microprocessor control instruction test bench # # At the end (1355ns in rtl-model,262.4us in spartan3), # %ax=0x08d6 and %bx=0x0603 # # clc (1) # cld (2) # cli (3) # cmc (4) # hlt (5) # nop (6) # stc (7) # std (8) # sti (9) # .code16 start: movw $0x1000, %ax movw %ax, %ss movw $0x1000, %sp movw $0xfeff, %cx push %cx popf clc # (1) cld # (2) cli # (3) nop # (6) pushf pop %ax # %ax = 0x08d6 movw $0x1, %dx push %dx popf cmc # (4) stc # (7) std # (8) sti # (9) pushf pop %bx # %bx = 0x0603 hlt # (5) .org 65520 jmp start .org 65535 .byte 0xff