mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Added the unconditional JMP with an 8-bit relocation for the
assembler / disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76712 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
064a6eacab
commit
5292588ad4
@ -518,8 +518,10 @@ let isBranch = 1, isTerminator = 1 in
|
||||
class IBr<bits<8> opcode, dag ins, string asm, list<dag> pattern> :
|
||||
I<opcode, RawFrm, (outs), ins, asm, pattern>;
|
||||
|
||||
let isBranch = 1, isBarrier = 1 in
|
||||
let isBranch = 1, isBarrier = 1 in {
|
||||
def JMP : IBr<0xE9, (ins brtarget:$dst), "jmp\t$dst", [(br bb:$dst)]>;
|
||||
def JMP8 : IBr<0xEB, (ins brtarget8:$dst), "jmp\t$dst", []>;
|
||||
}
|
||||
|
||||
// Indirect branches
|
||||
let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in {
|
||||
|
Loading…
Reference in New Issue
Block a user