Den Wed, 28 Mar 2018 09:38:08 +0100 skrev smf <smf@null.net>: > On 27/03/2018 16:34, Gerrit Heitsch wrote: > > On 03/27/2018 01:33 AM, Mia Magnusson wrote: > >> > >> An 8-bit ROM wouldn't have to deal with endianess. > > > > Yes, it would. > > Right > > http://thestarman.pcministry.com/asm/mbr/AA55H.html > > However that is a signature at the end of the boot sector on disk, > this is right at the start of the rom. That article shows inconsistent behavior as the DOS DEBUG example byte swaps even single bytes, while the Linux nasm example only byte swaps words and not bytes, as (imho) expected. But no matter what it's not something an 8-bit wide rom should have to deal with. For example there is no byte swapping when converting between various file formats for eprom programmers, and of course the contents of strings (with 8-bit chars) aren't byte swapped. -- (\_/) Copy the bunny to your mails to help (O.o) him achieve world domination. (> <) Come join the dark side. /_|_\ We have cookies.Received on 2018-03-29 18:00:02
Archive generated by hypermail 2.2.0.