mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
fix assembly syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
82c678b83c
commit
bb1e2fbc68
@ -114,19 +114,19 @@ def ldr : InstARM<(ops IntRegs:$dst, memri:$addr),
|
||||
[(set IntRegs:$dst, (load iaddr:$addr))]>;
|
||||
|
||||
def LDRB : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
|
||||
"ldrb $dst, $addr",
|
||||
"ldrb $dst, [$addr]",
|
||||
[(set IntRegs:$dst, (zextloadi8 IntRegs:$addr))]>;
|
||||
|
||||
def LDRSB : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
|
||||
"ldrsb $dst, $addr",
|
||||
"ldrsb $dst, [$addr]",
|
||||
[(set IntRegs:$dst, (sextloadi8 IntRegs:$addr))]>;
|
||||
|
||||
def LDRH : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
|
||||
"ldrh $dst, $addr",
|
||||
"ldrh $dst, [$addr]",
|
||||
[(set IntRegs:$dst, (zextloadi16 IntRegs:$addr))]>;
|
||||
|
||||
def LDRSH : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
|
||||
"ldrsh $dst, $addr",
|
||||
"ldrsh $dst, [$addr]",
|
||||
[(set IntRegs:$dst, (sextloadi16 IntRegs:$addr))]>;
|
||||
|
||||
def str : InstARM<(ops IntRegs:$src, memri:$addr),
|
||||
|
Loading…
x
Reference in New Issue
Block a user