forked from KolibriOS/kolibrios
add cmp.inc - macroses for cmp
git-svn-id: svn://kolibrios.org@5893 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1dce2c44d5
commit
864aa845cb
47
programs/cmp.inc
Normal file
47
programs/cmp.inc
Normal file
@ -0,0 +1,47 @@
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user