Relative Content

Tag Archive for assemblylineprocedurelag

assembly 8086 i have a problem with two lines making my whole code run slower and with lags

proc AshotMovement cmp [yAS],190 jae resetAShot ; check if shot hit something call checkHit2 cmp [hitObject],3 je resetAShot cmp [hitObject],2 je resetAShot mov si, offset Ashot push cx push [yAS] call printAShot pop [yAS] add [yAS],4 pop cx jmp exitAShotMovement resetAShot: mov [AshotFired],0 mov [AdeleteShot],1 call printAShot mov [AdeleteShot],0 push [y0S] pop [yS] exitAShotMovement: ret […]