projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 1 development
[unix-history]
/
px
/
14neg.s
/
/ NEGATION & ABSOLUTE VALUE
/
_ABS2:
tst (sp)
bge 1f
_NEG2:
neg (sp)
1:
sxt -(sp)
return
_ABS4:
tst (sp)
bge 1f
_NEG4:
mov (sp)+,r0
neg r0
neg (sp)
sbc r0
mov r0,-(sp)
1:
return
_ABS8:
absf (sp)
return
_NEG8:
negf (sp)
cfcc
return