代码搜索:COMPACT
找到约 3,584 项符合「COMPACT」的源代码
代码结果 3,584
www.eeworm.com/read/479931/1327279
cgs andb.cgs
# sh testcase for and.b #$imm8, @(r0, gbr) -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global orb
init:
# Init GBR and R0.
mov #30, r0
www.eeworm.com/read/479931/1327283
cgs movl1.cgs
# sh testcase for mov.l $rm, @$rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #30, r1
shll8 r1
init:
# Build up a distinctive bit pa
www.eeworm.com/read/479931/1327294
cgs tstb.cgs
# sh testcase for tst.b #$imm8, @(r0, gbr) -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global orb
init:
# Init GBR and R0.
mov #30, r0
www.eeworm.com/read/479931/1327295
cgs andi.cgs
# sh testcase for and #$imm8, r0 -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global andi
andi:
mov #0, r0
or #255, r0
and #0, r0
ass
www.eeworm.com/read/479931/1327300
cgs not.cgs
# sh testcase for not $rm64, $rn64 -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global not
not:
mov #0, r0
or #192, r0
not r0, r1
mo
www.eeworm.com/read/479931/1327301
cgs rotr.cgs
# sh testcase for rotr $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global rotr
rotr:
mov #1, r1
rotr r1
bf wrong
rotr r1
rotr r
www.eeworm.com/read/479931/1327302
cgs shal.cgs
# sh testcase for shal $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global shal
shal:
mov #1, r1
shal r1
assert r1, #2
shal r1
a
www.eeworm.com/read/479931/1327309
cgs macw.cgs
# sh testcase for mac.w @${rm}+, @${rn}+
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
# Store some magic numbers in memory.
mov #40, r1
shll8 r1
mo
www.eeworm.com/read/479931/1327311
cgs shad.cgs
# sh testcase for shad $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global null
null:
mov #1, r0
mov #0, r1
shad r1, r0
# no
www.eeworm.com/read/479931/1327314
cgs ldsl-fpul.cgs
# sh testcase for lds.l @${rn}+, fpul -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global ldsl_fpul
ldsl_fpul:
mov #40, r0
shll8 r0
#