mirror of
https://github.com/cc65/cc65.git
synced 2025-04-09 10:39:40 +00:00
Reserve space in examples with .res
This commit is contained in:
parent
929553dc8d
commit
ded1c20190
@ -1636,7 +1636,7 @@ either a string or an expression.
|
||||
|
||||
<tscreen><verb>
|
||||
; Reserve space for the larger of two data blocks
|
||||
savearea: .max (.sizeof (foo), .sizeof (bar))
|
||||
savearea: .res .max (.sizeof (foo), .sizeof (bar))
|
||||
</verb></tscreen>
|
||||
|
||||
See: <tt><ref id=".MIN" name=".MIN"></tt>
|
||||
@ -1696,7 +1696,7 @@ either a string or an expression.
|
||||
|
||||
<tscreen><verb>
|
||||
; Reserve space for some data, but 256 bytes maximum
|
||||
savearea: .min (.sizeof (foo), 256)
|
||||
savearea: .res .min (.sizeof (foo), 256)
|
||||
</verb></tscreen>
|
||||
|
||||
See: <tt><ref id=".MAX" name=".MAX"></tt>
|
||||
|
Loading…
x
Reference in New Issue
Block a user