Add instruction definitions for mov r, imm instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-27 21:16:44 +00:00
parent e8b5413e5d
commit 65a78f28e3

View File

@ -31,8 +31,14 @@ I(NOOP , "nop", 0, 0) // nop 90
// Miscellaneous instructions
I(RET , "ret", MIF::RET, 0) // ret CB
I(ADDrr8 , "add", 0, 0) // R8 += R8 00/r
I(ADDrr16 , "add", 0, 0) // R16 += R16 01/r
// Move instructions
I(MOVir8 , "movb", 0, 0) // R = imm8 B0+ rb
I(MOVir16 , "movw", 0, 0) // R = imm16 B8+ rw
I(MOVir32 , "movl", 0, 0) // R = imm32 B8+ rd
// Arithmetic instructions
I(ADDrr8 , "addb", 0, 0) // R8 += R8 00/r
I(ADDrr16 , "addw", 0, 0) // R16 += R16 01/r
I(ADDrr32 , "addl", 0, 0) // R32 += R32 02/r