mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 20:12:07 +00:00
Support SIZEOF(reg) to distinguish 8- and 16-bit registers (#1758)
This commit is contained in:
@@ -715,6 +715,9 @@ is a string, this function returns the size of the section named
|
||||
If
|
||||
.Ar arg
|
||||
is a section type keyword, it returns the size of that section type.
|
||||
If
|
||||
.Ar arg
|
||||
is an 8-bit or 16-bit register, it returns the size of that register.
|
||||
The result is not constant, since only RGBLINK can compute its value.
|
||||
.It Fn STARTOF arg Ta If
|
||||
.Ar arg
|
||||
|
||||
Reference in New Issue
Block a user