kolibrios-gitea/programs/other/outdated/sysxtree/trunk/ascgml.inc
maxcodehack 4ca88acc25 - SDL Demo - fix Tupfile.lua
- Move sysxtree and mfar to outdated

git-svn-id: svn://kolibrios.org@8524 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-06 13:31:58 +00:00

50 lines
734 B
PHP

lang equ ru
;
; Assembler
; SMALL
; CODE
; GaMe
; Libary
;
; Ver 0.03 By Pavlushin Evgeni (RUSSIA)
; www.waptap@mail.ru
;InfoList
;0.01 correct
;0.02 control ~14.05.2004
;0.03 all macros optimized by halyavin, add at ~07.06.2004
; corectiryemoe,corectnoe,step
macro correct arg1,arg2,arg3
{
local plus,minus,equal
mov eax,arg2
cmp arg1,eax
je equal
mov eax,arg3
ja minus
plus:
add arg1,eax
jmp equal
minus:
sub arg1,eax
equal:
}
macro control min,max,arg
{
local gr,low,norm
mov eax,max
cmp arg,eax
jg gr
mov eax,min
cmp arg,eax
jnl norm
gr:
low:
mov arg,eax
norm:
}