ISSOtm
462fd7539c
Prohibit nested macros
...
After discussion (starting there:
https://github.com/gbdev/rgbds/pull/594#issuecomment-706437458
), it was decided that plain nested macros should not be
allowed.
Since #590 is fixed, EQUS can be used as a workaround;
multiline strings (#589 ) will make that easier on the
user when implemented.
Fixes #588 , supersedes and closes #594 .
Additionally, closes #388 .
2020-12-09 10:44:39 +01:00
ISSOtm
fd721ca480
Document optional RB/RW/RL argument
2020-12-09 09:39:46 +01:00
ISSOtm
4de6266442
Add explanation of how EXPORT works
...
Fixes #608
2020-12-08 21:07:24 +01:00
ISSOtm
9028fb5391
Fix mistakes in RGBDS man pages
...
As reported by `mandoc -Wall`
2020-10-23 01:02:59 +02:00
anderoonies
5230104852
documentation for block comments
2020-10-19 18:05:37 +02:00
ISSOtm
6a8ae643d5
Mention that SHIFT updates _NARG
...
Fixes #598
2020-10-11 02:13:30 +02:00
ISSOtm
914856342c
Fix incorrect documentation of accepted sym names
...
No, they cannot start with a digit!
2020-10-11 01:57:27 +02:00
ISSOtm
66784b7122
Fix documentation not mentioning SECTION FRAGMENTsyntax
2020-09-20 00:06:51 +02:00
ISSOtm
54f2d99ce7
Apply two minor fixes to rgbasm(5)
...
Mustn't → must not
Add a comma to INCBIN sentence to mirror INCLUDE's
2020-09-17 20:45:58 +02:00
ISSOtm
5e63527190
Update repo link at bottom of all man pages
2020-09-15 16:00:17 +02:00
Eldred Habert
76331d1c4a
Merge pull request #552 from mattcurrie/incbin-length-optional
...
Make INCBIN's length argument optional
2020-08-23 00:11:54 +02:00
Matt Currie
c389e8dccb
Fix typo
...
'arugment' => 'argument'
2020-08-17 13:57:58 +12:00
ISSOtm
fcfecc6e82
Improve description of @ symbol
...
As requested by someone on GBDev
2020-08-15 15:23:11 +02:00
Matt Currie
f863a927c1
Make INCBIN's length argument optional
...
INCBIN can now be used with just a start position to include everything
from the start position until the end of the file.
2020-08-15 17:24:11 +12:00
ISSOtm
1f2f797cb9
Add section fragments
...
Fixes #517 , and hopefully enables RGBDS as a SDCC back-end
2020-07-21 19:56:46 +02:00
Brayden Morris
83aa456d05
Fix error in documentation about unary not
2020-07-13 09:32:43 -06:00
ISSOtm
0157ba63d3
Document whitespace before local labels
2020-04-08 15:08:29 +02:00
ISSOtm
9e3d8b22cb
Document new intra-section align
...
Also sneak in two code style fixes forgotten in last commit
2020-04-08 15:01:36 +02:00
ISSOtm
5039af6af1
Document new "unionized section" feature
2020-03-26 23:50:30 +01:00
ISSOtm
9113647d41
Fix incorrect macro used for x-ref
2020-03-26 23:11:01 +01:00
ISSOtm
713eef9ef2
Update mandoc style sheet
2020-03-26 23:11:01 +01:00
ISSOtm
7635a2fc74
Reword and give an example of symbol interpolation
2020-03-26 23:11:01 +01:00
ISSOtm
7955447ca4
Overhaul man pages
2020-03-26 23:11:01 +01:00
Eldred Habert
fe824e0068
Merge pull request #490 from ISSOtm/const
...
Implement `ISCONST`, reporting compile-time constness
2020-03-21 23:20:01 +01:00
ISSOtm
fb58166e5d
Add assertions
...
Closes #292
2020-03-21 23:00:38 +01:00
ISSOtm
7b54312d97
Deprecate OPT z in favor of OPT p
...
Fixes #298
2020-03-14 17:09:15 +01:00
ISSOtm
8fcdcb1731
Implement ISCONST, reporting compile-time constness
2020-03-11 02:15:31 +01:00
ISSOtm
4cc24f4369
Add ds cnt, byte syntax
...
As suggested by https://github.com/rednex/rgbds/issues/350#issuecomment-498030458
The order `count` then `byte` was decided after some discussion:
- First argument consistent with single-arg syntax
- Intuitive at least to some people other than myself
- Consistent with other assemblers, at least ca65
2020-02-23 22:43:50 +01:00
ISSOtm
6963d77f8a
Add documentation for LOAD blocks
2020-02-10 09:30:33 +01:00
ISSOtm
606519c515
Touch up ds documentation as per rednex#350
2019-12-12 23:22:51 +01:00
ISSOtm
34618e0294
Overhaul RGBDS man pages and help messages
2019-12-12 23:22:51 +01:00
ISSOtm
9faa5c7a9e
Update docs on char escapes in macro args
...
Fixes #415
2019-09-05 15:40:54 +02:00
Eldred Habert
4ef27a0d23
Merge pull request #411 from ISSOtm/recursion_limit
...
Add a recursion limit
2019-09-02 02:21:16 +02:00
ISSOtm
3cc67c48cf
Add recursion limit info to man and help
2019-08-31 17:34:54 +02:00
dbrotz
d3db5f0d76
Add pushc and popc directives
2019-08-30 19:36:23 -07:00
dbrotz
e05199ca1e
Add support for multiple charmaps
...
This adds two new directives: newcharmap and setcharmap.
newcharmap creates a new charmap and switches to it.
setcharmap switches to an existing charmap.
2019-08-29 21:54:06 -07:00
ISSOtm
64752da42d
Add "print types" to bracketed symbols
...
Should partially cover #178 and close #270 .
This allows printing numbers in different bases and without the dollar prefix
This is especially useful in macros because the dollar isnt a valid character
for symbol names, requiring heavy `STRSUB` usage.
2019-08-29 14:04:58 +02:00
karas
5cb6c4af4b
Fix typo in documentation
...
Signed-off-by: GwanYeong Kim <gy741.kim@gmail.com >
2018-08-30 18:53:44 +09:00
Anthony J. Bentley
432a7574c9
Remove alphabetical list of keywords.
...
The original list only existed because the documentation was split
across multiple files. When all keywords are described in a single
document, Ctrl+F suffices to find them.
2018-07-28 02:05:52 -06:00
Anthony J. Bentley
4d2598e7bf
Fix Bl -column widths: the arguments are strings as wide as the column.
2018-07-28 02:02:47 -06:00
Anthony J. Bentley
2e565bcb4e
Escape some operators.
2018-07-28 01:55:38 -06:00
Anthony J. Bentley
62ecb6da0b
Mark up #define with Fd.
2018-07-28 01:55:38 -06:00
Anthony J. Bentley
46fcebe2b5
Use .Fn for defining functions.
2018-07-28 01:55:35 -06:00
Anthony J. Bentley
ab1901eeac
Remove excess tabs in column lists.
2018-07-28 01:55:35 -06:00
Anthony J. Bentley
29d2fc6ebc
Cleanup "Sections" section.
2018-07-28 01:55:28 -06:00
Anthony J. Bentley
efe4599bd8
New sentence, new line.
2018-07-28 00:46:16 -06:00
Anthony J. Bentley
4fc1e41b16
@, &, $, {, and } don't need to be escaped.
2018-07-28 00:46:16 -06:00
Anthony J. Bentley
e771d60ec0
Eliminate \[dq] escapes and superfluous double quotes.
...
" can be used directly except in macro lines. Also in some situations
wrapping with a Dq or Ql macro can be more appropriate.
2018-07-28 00:45:54 -06:00
Antonio Niño Díaz
483a63156b
Document character maps
...
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com >
2018-03-15 21:04:43 +00:00
Antonio Niño Díaz
8744d360a3
Fix format of manpage
...
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com >
2018-02-27 19:42:29 +00:00