Michael Urman
c6274f1170
First commit. Generates all needed sections of token.l, bison.y from
...
instrs.dat, token.l.in, bison.y.in. Optionally can use other files, or
just verify input is valid.
svn path=/trunk/yasm/; revision=28
24 years ago
Michael Urman
2d86196037
Inserted /* @FOO@ */ markers for dynamic generation via gen_instr.pl.
...
svn path=/trunk/yasm/; revision=27
24 years ago
Michael Urman
728f4404e7
Added dynamic generation of token.l, bison.y from token.l.in, bison.y.in.
...
It's ugly, but it only generates once until new files exist.
svn path=/trunk/yasm/; revision=26
24 years ago
Peter Johnson
80d7b2347b
Repocopied to .in version in preparation for gen_instr.pl generation of
...
instruction components.
svn path=/trunk/yasm/; revision=25
24 years ago
Peter Johnson
8b5a407ef2
Need to zero need_modrm in BuildBC_Insn() if no EA.
...
svn path=/trunk/yasm/; revision=24
24 years ago
Peter Johnson
5c43534651
Added .cvsignore for src and include directories.
...
svn path=/trunk/yasm/; revision=23
24 years ago
Peter Johnson
e9bd95fd96
Added conversion from immediate value to effective address. Used for enter
...
instruction (which takes two immediate values).
To facilitate this change, changed meaning of "len" in bytecode structure
to be only the length of the offset (from being 1+length, the 1 being for the
Mod/RM byte), and added a need_modrm flag similar to the need_sib flag in
functionality.
svn path=/trunk/yasm/; revision=22
24 years ago
Peter Johnson
a750e39454
Added warning for "value exceeds bounds".
...
svn path=/trunk/yasm/; revision=21
24 years ago
Michael Urman
3e9f321b66
Reformatted BuildBC_Insn's argument list to aligned one arg per line.
...
svn path=/trunk/yasm/; revision=20
24 years ago
Peter Johnson
7ae09b88b7
Implemented dynamic argument types for error and warning messages.
...
svn path=/trunk/yasm/; revision=19
24 years ago
Peter Johnson
b67271e39b
Fix syntax of main() definition.
...
Return EXIT_SUCCESS instead of 0 for portability.
svn path=/trunk/yasm/; revision=18
24 years ago
Peter Johnson
4c34b9b6d7
Fixed regex match for DIRECTIVE_VAL.
...
svn path=/trunk/yasm/; revision=17
24 years ago
Peter Johnson
bc2b7f3194
Changed implementation of directives. Added some rudimentary error checking.
...
svn path=/trunk/yasm/; revision=16
24 years ago
Peter Johnson
c1c9e2fdf7
yyerror() moved to errwarn.c. Changed file comment to reflect that error
...
and warning code is not in this file.
svn path=/trunk/yasm/; revision=15
24 years ago
Peter Johnson
0049890bf1
Added errwarn.o to dependencies (error and warning reporting).
...
svn path=/trunk/yasm/; revision=14
24 years ago
Peter Johnson
19688f76f7
Initial check-in. Still need to implement dynamic argument typing.
...
svn path=/trunk/yasm/; revision=13
24 years ago
Peter Johnson
61465617aa
Removed accidental garbage in last commit.
...
svn path=/trunk/yasm/; revision=12
24 years ago
Peter Johnson
2ddc3208dc
Merge immediate and relative structures.
...
svn path=/trunk/yasm/; revision=11
24 years ago
Peter Johnson
7753047a50
Indicate some more immediates are signed.
...
svn path=/trunk/yasm/; revision=10
24 years ago
Peter Johnson
03ba6ad091
Fix prototype warning.
...
svn path=/trunk/yasm/; revision=9
24 years ago
Peter Johnson
dd8ee75e08
Add -Wstrict-prototypes.
...
svn path=/trunk/yasm/; revision=8
24 years ago
Peter Johnson
d3a51f5835
Initial check-in.
...
svn path=/trunk/yasm/; revision=7
24 years ago
Peter Johnson
d53a47cfd2
Initial check-in.
...
Needs doublechecking of everything, particularly CPU flags.
svn path=/trunk/yasm/; revision=6
24 years ago
Peter Johnson
2fdefb7a66
Initial check-in.
...
Contains hardcoded instructions that should be dynamically generated.
svn path=/trunk/yasm/; revision=5
24 years ago
Peter Johnson
9d8625ade2
Initial check-in.
...
Requires GNU Make.
svn path=/trunk/yasm/; revision=4
24 years ago
Peter Johnson
985479b714
Current license (GPL).
...
svn path=/trunk/yasm/; revision=3
24 years ago