Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zackattack
· 16y ago · 0 comments
I lack formal CS training: "0 0 2 0 1 2 1 0 1" is a sequence of 9 integers. Why would you allocate 256 bytes? Edifying post, thanks.
Comments
[–]
daeken
16y ago
Your addresses in this simple instruction set are 8-bit; 256 bytes gives you a full 8-bit memory space.
[–]
johnl87
16y ago
Not every number is an integer. Could be a char or a short too. The sizes of those depends on the platform and if it's signed or unsigned.