CLASS12 added for the LOI instruction. A "LOI n", n < wordsize,
loads wordsize bytes, not n bytes.
This commit is contained in:
parent
e936aea1e1
commit
db19d06f61
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,7 @@ typedef struct class *class_p;
|
||||||
#define CLASS9 9
|
#define CLASS9 9
|
||||||
#define CLASS10 10
|
#define CLASS10 10
|
||||||
#define CLASS11 11
|
#define CLASS11 11
|
||||||
|
#define CLASS12 12
|
||||||
|
|
||||||
#include "classdefs.h"
|
#include "classdefs.h"
|
||||||
/* The file classdefs.h contains the table classtab. It is
|
/* The file classdefs.h contains the table classtab. It is
|
||||||
|
@ -66,6 +67,7 @@ STATIC bool uses_arg(class)
|
||||||
case CLASS3:
|
case CLASS3:
|
||||||
case CLASS4:
|
case CLASS4:
|
||||||
case CLASS11:
|
case CLASS11:
|
||||||
|
case CLASS12:
|
||||||
return TRUE;
|
return TRUE;
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -181,6 +183,9 @@ STATIC offset nrbytes(class,arg1,arg2)
|
||||||
case CLASS11:
|
case CLASS11:
|
||||||
n = arg1 + 2*ps;
|
n = arg1 + 2*ps;
|
||||||
break;
|
break;
|
||||||
|
case CLASS12:
|
||||||
|
n = (arg1 < ws ? ws : arg1);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
assert(FALSE);
|
assert(FALSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue