mirror of
https://github.com/libretro/x86-assembly-cheat.git
synced 2026-11-07 12:47:59 -10:00
23 lines
237 B
NASM
23 lines
237 B
NASM
; # SETcc
|
|
|
|
; Set version of CMOVcc
|
|
|
|
%include "lib/asm_io.inc"
|
|
|
|
ENTRY
|
|
|
|
mov eax, 0
|
|
|
|
stc
|
|
setc al
|
|
ASSERT_EQ 1
|
|
|
|
clc
|
|
setc al
|
|
ASSERT_EQ 0
|
|
|
|
; ERROR: only for 8 bit registers or memory.
|
|
;setc eax
|
|
|
|
EXIT
|