Variable size/Set: Difference between revisions

Content added Content deleted
Line 73: Line 73:
<lang asm>BigNumber byte 256 dup (0) ;reserve 256 bytes, each equals zero</lang>
<lang asm>BigNumber byte 256 dup (0) ;reserve 256 bytes, each equals zero</lang>


While it's easy to set a variable's size, getting it is impossible without knowing it in advance. Variables are nothing more than just a section of RAM; the CPU does not (and cannot) know how many bytes your variable is supposed to be.


=={{header|Ada}}==
=={{header|Ada}}==