OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sw/] [zasm/] [zasm.l] - Diff between revs 69 and 98

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 69 Rev 98
Line 105... Line 105...
(?i:clr)        { yylval.u_op  = OP_CLR; return SINGLOP; }
(?i:clr)        { yylval.u_op  = OP_CLR; return SINGLOP; }
(?i:clrf)       { yylval.u_op  = OP_CLRF;return SINGLOP; }
(?i:clrf)       { yylval.u_op  = OP_CLRF;return SINGLOP; }
(?i:int)        { yylval.u_op  = OP_TRAP;return SINGLOP; }
(?i:int)        { yylval.u_op  = OP_TRAP;return SINGLOP; }
(?i:trap)       { yylval.u_op  = OP_TRAP;return SINGLOP; }
(?i:trap)       { yylval.u_op  = OP_TRAP;return SINGLOP; }
(?i:jmp)        { yylval.u_op  = OP_JMP; return SINGLOP; }
(?i:jmp)        { yylval.u_op  = OP_JMP; return SINGLOP; }
(?i:ljmp)       { yylval.u_op  = OP_LJMP;return SINGLOP; }
 
(?i:neg)        { yylval.u_op  = OP_NEG; return SINGLOP; }
(?i:neg)        { yylval.u_op  = OP_NEG; return SINGLOP; }
(?i:not)        { yylval.u_op  = OP_NOT; return SINGLOP; }
(?i:not)        { yylval.u_op  = OP_NOT; return SINGLOP; }
(?i:cmp)        { yylval.u_op  = OP_CMP; return DUALOP; }
(?i:cmp)        { yylval.u_op  = OP_CMP; return DUALOP; }
(?i:tst)        { yylval.u_op  = OP_TST; return DUALOP; }
(?i:tst)        { yylval.u_op  = OP_TST; return DUALOP; }
(?i:mov)        { yylval.u_op  = OP_MOV; return DUALOP; }
(?i:mov)        { yylval.u_op  = OP_MOV; return DUALOP; }
Line 127... Line 126...
(?i:or)         { yylval.u_op  = OP_OR; return DUALOP;; }
(?i:or)         { yylval.u_op  = OP_OR; return DUALOP;; }
(?i:xor)        { yylval.u_op  = OP_XOR; return DUALOP; }
(?i:xor)        { yylval.u_op  = OP_XOR; return DUALOP; }
(?i:lsl)        { yylval.u_op  = OP_LSL; return DUALOP; }
(?i:lsl)        { yylval.u_op  = OP_LSL; return DUALOP; }
(?i:asr)        { yylval.u_op  = OP_ASR; return DUALOP; }
(?i:asr)        { yylval.u_op  = OP_ASR; return DUALOP; }
(?i:lsr)        { yylval.u_op  = OP_LSR; return DUALOP; }
(?i:lsr)        { yylval.u_op  = OP_LSR; return DUALOP; }
 
(?i:ljmp)       { yylval.u_op = OP_LJMP;  return BAREOP; }
(?i:lod)        { yylval.u_op = OP_LOD;   return LOADOP; }
(?i:lod)        { yylval.u_op = OP_LOD;   return LOADOP; }
(?i:sto)        { yylval.u_op = OP_STO;   return STOROP; }
(?i:sto)        { yylval.u_op = OP_STO;   return STOROP; }
(?i:halt)       { yylval.u_op = OP_HALT;  return BAREOP;  }
(?i:halt)       { yylval.u_op = OP_HALT;  return BAREOP;  }
(?i:wait)       { yylval.u_op = OP_HALT;  return BAREOP;  }
(?i:wait)       { yylval.u_op = OP_HALT;  return BAREOP;  }
(?i:rtu)        { yylval.u_op = OP_RTU;   return BAREOP;  }
(?i:rtu)        { yylval.u_op = OP_RTU;   return BAREOP;  }

powered by: WebSVN 2.1.0

© copyright 1999-2022 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.