From b8df2847aa60728b72a9a48769c8662214ba30c8 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Wed, 8 Jan 2014 19:42:07 +0100 Subject: Remove useless D initialization, remove LA instruction (actually, it is LI) --- asm/asmpars.mly | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'asm/asmpars.mly') diff --git a/asm/asmpars.mly b/asm/asmpars.mly index 8dbf665..d15c8af 100644 --- a/asm/asmpars.mly +++ b/asm/asmpars.mly @@ -38,7 +38,7 @@ %} %token EOF,COLON,TEXT,DATA,BYTE,WORD,ASCIIZ,MINUS,MOVE,JZ,JNZ,LP,RP -%token POP,PUSH,INCRI,SHI,JJ,JAL,JR,JALR,LW,SW,LB,SB,NOT,LIL,LILZ,LIU,LIUZ,LRA,LA,LI +%token POP,PUSH,INCRI,SHI,JJ,JAL,JR,JALR,LW,SW,LB,SB,NOT,LIL,LILZ,LIU,LIUZ,LRA,LI %token REG %token ROP,RIOP %token ID @@ -120,7 +120,6 @@ _instr: | LRA i=int { assert (i > -(1 lsl 10) && i < 1 lsl 10); add pc 2; [Lra (Imm i)] } | LRA l=ID { add pc 2; [Lra (Lab l)] } - | LA r=REG l=ID { li false r (Lab l) } | LIL r=REG i=int { add pc 2; [Lil (r,Imm i)] } | LILZ r=REG i=int { add pc 2; [Lilz (r,Imm i)] } | LIU r=REG i=int { add pc 2; [Liu (r,Imm i)] } -- cgit v1.2.3