代码搜索结果
找到约 242 项符合
BLE 的代码
roff3.s
/
/
/roff3 -- runoff
skipcont:
jsr pc,getchar
mov r0,r2
jsr pc,alph2
beq skipcont
1:
cmp $' ,r0
bne 1f
jsr pc,getchar
br 1b
1:
mov r0,ch
rts pc
rbreak:
tst nc
ble 4f
clrb *linep
inc t
fed2.s
/
/
ed:
mov (sp)+,r3
ble error
econ:
sys stat; ftemp; buffer
bec 2f
sys creat; ftemp; 666
mov r0,tmpw
sys open; ftemp; 0
mov r0,tmpr
br 1f
2:
cmpb $'z,ftemp+9.
bne 2f
mov $1,r0
sys write;
memcmp.s
#include
.text
.align 4
.global C_LABEL(__memcmp), C_LABEL(memcmp)
C_LABEL(__memcmp):
C_LABEL(memcmp):
#if 1
cmp %o2, 0
ble L3
mov 0, %g3
L5:
ldub [%o0], %g2
ldub [%o1], %g3
memcmp.s
#include
.text
.align 4
.global C_LABEL(__memcmp), C_LABEL(memcmp)
C_LABEL(__memcmp):
C_LABEL(memcmp):
#if 1
cmp %o2, 0
ble L3
mov 0, %g3
L5:
ldub [%o0], %g2
ldub [%o1], %g3
memcmp.s
#include
.text
.align 4
.global C_LABEL(__memcmp), C_LABEL(memcmp)
C_LABEL(__memcmp):
C_LABEL(memcmp):
#if 1
cmp %o2, 0
ble L3
mov 0, %g3
L5:
ldub [%o0], %g2
ldub [%o1], %g3
memcmp.s
#include
.text
.align 4
.global C_LABEL(__memcmp), C_LABEL(memcmp)
C_LABEL(__memcmp):
C_LABEL(memcmp):
#if 1
cmp %o2, 0
ble L3
mov 0, %g3
L5:
ldub [%o0], %g2
ldub [%o1], %g3
cat.s
/ cat -- concatinate files
mov (sp)+,r5
tst (sp)+
mov $obuf,r2
cmp r5,$1
beq 3f
loop:
dec r5
ble done
mov (sp)+,r0
cmpb (r0),$'-
bne 2f
clr fin
br 3f
2:
mov r0,0f
sys open; 0:..; 0
be
aign
.
..
r0
r1
r2
r3
r4
r5
sp
pc
csw
mov
movb
cmp
cmpb
bit
bitb
bic
bicb
bis
bisb
add
sub
br
bne
beq
bge
blt
bgt
ble
bpl
bmi
bhi
blos
bvc
bvs
bhis
bec
bcc
blo
bcs
bes
jbr
jne
jeq
jge
jlt
jgt
jle
jpl
jmi
j
cat.s
/ cat -- concatinate files
mov (sp)+,r5
tst (sp)+
mov $obuf,r2
cmp r5,$1
beq 3f
loop:
dec r5
ble done
mov (sp)+,r0
cmpb (r0),$'-
bne 2f
clr fin
br 3f
2:
mov r0,0f
sys open; 0:..; 0
be
vlop.s
TEXT _mulv(SB), $0
MOVW u1+8(FP), R8
MOVW u2+16(FP), R13
MOVW R13, R16 /* save low parts for later */
MOVW R8, R12
/*
* unsigned 32x32 => 64 multiply
*/
CMP R13, R8
BLE mul1
MOVW R12, R