projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use struct nlist; change field names; vgrind format fixes
[unix-history]
/
usr
/
src
/
old
/
as.vax
/
aspseudo.c
diff --git
a/usr/src/old/as.vax/aspseudo.c
b/usr/src/old/as.vax/aspseudo.c
index
28ffb41
..
f6b0d44
100644
(file)
--- a/
usr/src/old/as.vax/aspseudo.c
+++ b/
usr/src/old/as.vax/aspseudo.c
@@
-1,20
+1,20
@@
/* Copyright (c) 1980 Regents of the University of California */
/* Copyright (c) 1980 Regents of the University of California */
-static char sccsid[] = "@(#)aspseudo.c 4.
1
%G%";
+static char sccsid[] = "@(#)aspseudo.c 4.
2
%G%";
#include <stdio.h>
#include <stdio.h>
-#include <sys/types.h>
#include "as.h"
#include "as.h"
-#define
OP(name,opcode,nargs,arg1,arg2,arg3,arg4,arg5,
arg6) \
+#define
OP(name, opcode, nargs, arg1, arg2, arg3, arg4, arg5,
arg6) \
{ \
{ \
- name,
(nargs==0 ? INST0:INSTn), opcode,nargs
, \
-
arg1,arg2,arg3,arg4,arg5,arg6
\
+ name,
opcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6
, \
+
(nargs == 0 ? INST0:INSTn)
\
}
}
-#define PSEUDO(name, type, tag) \
+#define
PSEUDO(name, type, tag) \
{ \
{ \
- name, tag, type \
+ name, type, 0, 0, 0, 0, 0, 0, 0, \
+ tag \
}
}
-readonly struct
i
nstab instab[] = {
+readonly struct
I
nstab instab[] = {
PSEUDO(".space", 0, ISPACE),
PSEUDO(".fill", 0, IFILL),
PSEUDO(".byte", 0, IBYTE),
PSEUDO(".space", 0, ISPACE),
PSEUDO(".fill", 0, IFILL),
PSEUDO(".byte", 0, IBYTE),