Michael McLoughlin
cde7e9483b
pass,printer: display required ISA features ( #120 )
...
Fixes #119
2020-01-19 16:45:09 -08:00
Michael McLoughlin
475a241446
operand: include '+0' in named symbol references
...
Intended to address an asmdecl error.
[amd64] Butterfly: use of unnamed argument 0(FP); offset 0 is x0+0(FP)
Updates #24
2019-01-13 12:00:57 -08:00
Michael McLoughlin
f77a2e3b9e
printer: use tabwriter to align instructions ( #8 )
2019-01-10 21:21:41 -08:00
Michael McLoughlin
304c7425d2
build: add attributes argument to TEXT
...
Brings the TEXT() function signature closer to how the directive works
in assembly.
Also update almost all examples to use NOSPLIT.
Closes #11
2019-01-06 20:04:51 -08:00
Michael McLoughlin
816fa4c0e6
ast,build: allow setting data attributes
...
Previously GLOBL/DATA attributes are set to RODATA. This diff removes
that default and allows them to be set through the DataAttributes
context method.
Updates #2
2018-12-31 19:04:14 -08:00
Michael McLoughlin
e364d6398e
ast,build: add Attributes fields to Function and Global
...
Updates #2
2018-12-30 23:35:54 -08:00
Michael McLoughlin
6fc67c1fbc
examples/geohash: first version
...
Adds helper for constants as DATA sections.
2018-12-27 15:44:52 -08:00