Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
acqq
on June 7, 2019
|
parent
|
context
|
favorite
| on:
Invaders game in 512 bytes
> I believe mov ah,al is one byte for the mnemonic and two bytes for the registers for a total of 3 bytes.
Two bytes in the 8086 mode:
88C4 mov ah,al
And inside, ah and al are encoded with the 3 bits each, spending just 6 bits for "from which register to which register."
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Two bytes in the 8086 mode:
And inside, ah and al are encoded with the 3 bits each, spending just 6 bits for "from which register to which register."