pandocs icon indicating copy to clipboard operation
pandocs copied to clipboard

The Memory Map section should say whether 16 bit information stored in memory is big endian or little endian.

Open tatewilhelm opened this issue 3 years ago • 4 comments

This kinda confused me for a bit when I was looking through

tatewilhelm avatar Dec 25 '21 15:12 tatewilhelm

It's neither, endianness is determined by how RAM is being used by your code. (You can even mix both if you want.)

The Memory Map section does not deal with anything that has intrinsic enadianness, unlike e.g. the CGB DMA registers which specify the endianness explicitly.

ISSOtm avatar Dec 25 '21 20:12 ISSOtm

Then which part of the document is appropriate for documenting byte order of values stored by push, call, rst, and ld [a16], sp, and values read by pop and ret?

pinobatch avatar Dec 25 '21 20:12 pinobatch

Their respective instruction descriptions—none of which are linked to the aforementioned section.

ISSOtm avatar Dec 25 '21 20:12 ISSOtm

@tatewilhelm is this resolved?

ISSOtm avatar Sep 28 '23 22:09 ISSOtm