pandocs
pandocs copied to clipboard
The Memory Map section should say whether 16 bit information stored in memory is big endian or little endian.
This kinda confused me for a bit when I was looking through
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.
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?
Their respective instruction descriptions—none of which are linked to the aforementioned section.
@tatewilhelm is this resolved?