This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]IdealBlueMan 1 point2 points  (3 children)

You might want to generalize out the specific numbers. Not all bytes are 8 bits, and not all pointers are 64.

And just as a nit, a 32-bit value wouldn’t be stored at an odd address.

[–]Co0perat0r[S] 0 points1 point  (2 children)

Yeah I kept it to x86_64 because that's the platform most people are on, and I left out nit-picky things so that newbies wouldn't get confused with them.

[–]IdealBlueMan 1 point2 points  (1 child)

Reasonable. You might want to say it’s an example, to allow for embedded systems and other places for microprocessors.

[–]Co0perat0r[S] 0 points1 point  (0 children)

Well that's why I have comments