c15fd58d3b
Use structs
cuz
2003-12-03 10:15:33 +00:00
92a001d3af
Fixes for scoping and better .sizeof support
cuz
2003-12-03 10:13:41 +00:00
4fcf5c6bde
Use an enum for the error codes
cuz
2003-12-03 09:21:01 +00:00
14d0577ef0
More work on .sizeof, fixed problems with cheap locals
cuz
2003-12-03 09:18:31 +00:00
500f6c994a
.TAG, structs and unions
cuz
2003-12-02 22:53:40 +00:00
1a9a5f2687
More work on .sizeof
cuz
2003-12-02 22:09:45 +00:00
3a7c054f6b
Temp fix for address size detection of symbols
cuz
2003-11-30 22:54:13 +00:00
9ebc3d1f01
Don't remove symbols or otherwise simplify expressions while assembly is still in progress. There may be information that is needed, and when assembly is done it is still time to do so. (Needs more work). Better expression checks for fragments. Stuff that was detected by the linker before is now handled by the assembler.
cuz
2003-11-30 21:47:40 +00:00
cf7b4e227a
More .size/.sizeof support
cuz
2003-11-30 18:41:32 +00:00
7825f7d4a4
New section covering detection of macro parameter types
cuz
2003-11-30 18:22:33 +00:00
c5cc4e1536
Don't use SF_TRAMPOLINE, change symbol references instead. In smart mode, use RTL instead of RTS if the enclosing .PROC is far. More address size changes.
cuz
2003-11-29 07:53:26 +00:00
05f3f154a9
Use smart mode, allow more CPUs, fix CPU dependent code, use address sizes for functions.
cuz
2003-11-29 07:40:41 +00:00
b520b182d0
Memory model additions
cuz
2003-11-29 07:17:31 +00:00
add702a2f0
Special code for signed compares against zero
cuz
2003-11-29 06:56:24 +00:00
8f9a21ae3f
Extend the object code format by adding a (currently empty) scope table. Use the address size for import, export and debug symbols (object code change). More changes to support the --memory-model switch and address sizes.
cuz
2003-11-28 22:12:14 +00:00
e3eea961c2
Update by Stefan Haubenthal
cuz
2003-11-28 15:57:24 +00:00
d7cbbc6f46
Clear high byte of returned value
cuz
2003-11-28 15:53:24 +00:00
614d23b53a
Fixed a bug
cuz
2003-11-27 20:43:37 +00:00
20582afca5
Patches by Stefan Haubenthal
cuz
2003-11-26 21:17:29 +00:00
9fea0c5c42
Pass the memory model to the compiler
cuz
2003-11-25 18:37:05 +00:00
349c94f9a2
New --memory-model switch
cuz
2003-11-25 18:36:32 +00:00
5622524cbd
New --memory-model option
cuz
2003-11-24 19:18:01 +00:00
e9bd1d42b1
New module
cuz
2003-11-24 18:35:29 +00:00
49f72c6d24
Much extended StudyExpr
cuz
2003-11-23 21:39:30 +00:00
f99049f84c
Hold address sizes in an unsigned char
cuz
2003-11-23 21:39:12 +00:00
eb7fc320cc
New DefAddrSize variable
cuz
2003-11-23 21:38:54 +00:00
2863d55ebd
New option --memory-model
cuz
2003-11-23 21:38:23 +00:00
53a7c0c7d9
Removed the EXPR_FORCE... ops
cuz
2003-11-23 21:37:11 +00:00
efdee34870
Mark RTI as "uses all registers" to avoid problems with the optimizer removing register loads from an interrupt handler return.
cuz
2003-11-22 13:02:37 +00:00
7e44224dd0
Moved StudyExpr + helpers into its own module
cuz
2003-11-19 22:54:30 +00:00
cd918a387c
Temp fix for some address size problems
cuz
2003-11-18 20:50:55 +00:00
aa7b723b15
Added long address size
cuz
2003-11-18 20:50:36 +00:00
5ef1f65c9b
Allow conditional directives within .STRUCT7:UNION and .ENUM
cuz
2003-11-17 18:49:50 +00:00