kolibrios/programs/cmp.inc
eAndrew 864aa845cb add cmp.inc - macroses for cmp
git-svn-id: svn://kolibrios.org@5893 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-07 20:46:23 +00:00

47 lines
486 B
PHP

macro cmpe a, b, c
{
cmp a, b
je c
}
macro cmpne a, b, c
{
cmp a, b
jne c
}
macro cmpg a, b, c
{
cmp a, b
jg c
}
macro cmpl a, b, c
{
cmp a, b
jl c
}
macro cmpnl a, b, c
{
cmp a, b
jnl c
}
macro cmpng a, b, c
{
cmp a, b
jng c
}
macro cmpge a, b, c
{
cmp a, b
jge c
}
macro cmple a, b, c
{
cmp a, b
jle c
}