made arg_error dependent on DEBUG; fixed cmp instruction in as_table
This commit is contained in:
parent
fa6900fbbc
commit
9dcae8fcd0
|
@ -36,6 +36,10 @@ cmp dst:REG, src:EADDR ==> @text1( 0x3b);
|
||||||
... dst:ACCU, src:DATA ==> @text1( 0x3d);
|
... dst:ACCU, src:DATA ==> @text1( 0x3d);
|
||||||
@text2( %$(src->expr)).
|
@text2( %$(src->expr)).
|
||||||
|
|
||||||
|
... dst:EADDR, src:DATA ==> @text1( 0x81);
|
||||||
|
mod_RM(7,dst);
|
||||||
|
@text2( %$(src->expr)).
|
||||||
|
|
||||||
cwd ==> @text1( 0x99).
|
cwd ==> @text1( 0x99).
|
||||||
|
|
||||||
dec dst:REG ==> R53( 9, dst->reg).
|
dec dst:REG ==> R53( 9, dst->reg).
|
||||||
|
|
|
@ -3,12 +3,14 @@
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
#include "mach.h"
|
#include "mach.h"
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
arg_error( s, arg)
|
arg_error( s, arg)
|
||||||
char *s;
|
char *s;
|
||||||
int arg;
|
int arg;
|
||||||
{
|
{
|
||||||
fprint( STDERR, "arg_error %s %d\n", s, arg);
|
fprint( STDERR, "arg_error %s %d\n", s, arg);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int push_waiting = FALSE;
|
int push_waiting = FALSE;
|
||||||
|
|
||||||
|
|
|
@ -24,3 +24,7 @@
|
||||||
#define clean_push_buf() if(push_waiting){text1(0x50);push_waiting=FALSE;}
|
#define clean_push_buf() if(push_waiting){text1(0x50);push_waiting=FALSE;}
|
||||||
#define assign( l, r) l = r
|
#define assign( l, r) l = r
|
||||||
extern int push_waiting;
|
extern int push_waiting;
|
||||||
|
|
||||||
|
#ifndef DEBUG
|
||||||
|
#define arg_error(s,i)
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue