Remix.run Logo
rasz 10 hours ago

Looking at some random 1989 Zenith 386SX bios written in assembly so purely programmer preferences:

8 'sub al, al', 14 'sub ah, ah', 3 'sub ax, ax'

26 'xor al, al', 43 'xor ah, ah', 3 'xor ax, ax'

edit: checked a 2010 bios and not a single 'sub x, x'

pishpash 10 hours ago | parent [-]

Could be used to express 1 bit of information in some non-obvious convention.