mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
add 'ret imm' instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
37f13809ec
commit
1be4811d34
@ -152,9 +152,11 @@ let isTerminator = 1 in
|
||||
// Control Flow Instructions...
|
||||
//
|
||||
|
||||
// Return instruction...
|
||||
// Return instructions.
|
||||
let isTerminator = 1, isReturn = 1, isBarrier = 1 in
|
||||
def RET : I<0xC3, RawFrm, (ops), "ret">;
|
||||
let isTerminator = 1, isReturn = 1, isBarrier = 1 in
|
||||
def RETI : Ii16<0xC2, RawFrm, (ops i16imm:$amt), "ret $amt">;
|
||||
|
||||
// All branches are RawFrm, Void, Branch, and Terminators
|
||||
let isBranch = 1, isTerminator = 1 in
|
||||
|
Loading…
x
Reference in New Issue
Block a user