mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
14 lines
No EOL
613 B
C#
14 lines
No EOL
613 B
C#
namespace Cosmos.Compiler.Assembler.X86 {
|
|
|
|
// Int 0x01 and Int 0x03 have short hand op codes.
|
|
// For Int 0x03, the short version acts differently than the long version.
|
|
// Intel and other asms automatically optimize the long mnemonic to the
|
|
// short op code. NASM doesn't so we have to issue a seperate op code for it.
|
|
// We could optimize our C# code to issue a different ouput for NASM, but there
|
|
// are cases where the long form could be preferred. Thus instead we have
|
|
// chosen to follow the NASM model in our code.
|
|
[OpCode("Int3")]
|
|
public class INT3 : Instruction {
|
|
}
|
|
|
|
} |