mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 08:18:36 +03:00
add tons of tests
This commit is contained in:
30
X86DisassemblerTests/TestData/flag_tests.csv
Normal file
30
X86DisassemblerTests/TestData/flag_tests.csv
Normal file
@ -0,0 +1,30 @@
|
||||
# Flag control instruction tests
|
||||
# Format: RawBytes;Instructions
|
||||
RawBytes;Instructions
|
||||
|
||||
# STC - Set Carry Flag
|
||||
F9;[{ "Type": "Stc", "Operands": [] }]
|
||||
|
||||
# CLC - Clear Carry Flag
|
||||
F8;[{ "Type": "Clc", "Operands": [] }]
|
||||
|
||||
# CMC - Complement Carry Flag
|
||||
F5;[{ "Type": "Cmc", "Operands": [] }]
|
||||
|
||||
# STD - Set Direction Flag
|
||||
FD;[{ "Type": "Std", "Operands": [] }]
|
||||
|
||||
# CLD - Clear Direction Flag
|
||||
FC;[{ "Type": "Cld", "Operands": [] }]
|
||||
|
||||
# STI - Set Interrupt Flag
|
||||
FB;[{ "Type": "Sti", "Operands": [] }]
|
||||
|
||||
# CLI - Clear Interrupt Flag
|
||||
FA;[{ "Type": "Cli", "Operands": [] }]
|
||||
|
||||
# SAHF - Store AH into Flags
|
||||
9E;[{ "Type": "Sahf", "Operands": [] }]
|
||||
|
||||
# LAHF - Load Flags into AH
|
||||
9F;[{ "Type": "Lahf", "Operands": [] }]
|
Can't render this file because it contains an unexpected character in line 6 and column 7.
|
Reference in New Issue
Block a user