some fixes
This commit is contained in:
parent
e71c873fc1
commit
cfd6bca270
2 changed files with 7 additions and 2 deletions
|
@ -120,6 +120,8 @@ The following suffices exist:
|
|||
no arguments
|
||||
.PT .l
|
||||
16-bit argument
|
||||
.PT .u
|
||||
16-bit unsigned argument
|
||||
.PT .lw
|
||||
16-bit argument divided by the wordsize
|
||||
.PT .p
|
||||
|
|
|
@ -274,6 +274,7 @@ checkall() {
|
|||
else if ( flag&OP_POS )
|
||||
posc[opc]++ ;
|
||||
break ;
|
||||
case OP16U :
|
||||
case OP32 :
|
||||
case OP64 :
|
||||
break ;
|
||||
|
@ -437,7 +438,7 @@ writeout() {
|
|||
i = 0;
|
||||
while (lcodes[i] != -1) {
|
||||
if (!(i % 8)) printf("\n%d", i);
|
||||
printf("\t%s", ename(ecodes[i]));
|
||||
printf("\t%s", ename(lcodes[i]));
|
||||
i++;
|
||||
}
|
||||
while (i++ % 8) putchar('\t');
|
||||
|
@ -454,8 +455,10 @@ prx(flg,low,opc)
|
|||
case OPNO:
|
||||
putchar('z');
|
||||
break;
|
||||
case OP16:
|
||||
case OP16U:
|
||||
putchar('u');
|
||||
break;
|
||||
case OP16:
|
||||
if (flg&OP_POS) putchar('p');
|
||||
else if (flg&OP_NEG) putchar('n');
|
||||
else putchar('l');
|
||||
|
|
Loading…
Reference in a new issue