I need to jump if code is less then zero, so I tried.
cmp code, 0
jb TheEnd
But I guese this is only for unsigned values, what is the instruction fo signed values?
cmp code, 0
jb TheEnd
But I guese this is only for unsigned values, what is the instruction fo signed values?
jl/jle/jg/jge
(jump if less (or equal) / jump if greater (or equal))
Thomas
edit: too late :)
(jump if less (or equal) / jump if greater (or equal))
Thomas
edit: too late :)
thanx guys
strange how with all the programming I've done I never had to deal with signed numbers yet.
strange how with all the programming I've done I never had to deal with signed numbers yet.