Post #4440725
2026-08-07 20:32 UTC
We want our UTF-16 to be big endian, I think, which means our document would start with FE FF.
That's an invalid opcode. But what does it do on an 8088?
It does push bh, but as an 8-bit operation. Yes, you can push a single byte to the stack on an 8088. The stack pointer still advances by 2, though. Unfortunately there's no 8-bit pop.
Replies (1)
-
@gloriouscow@oldbytes.space 2026-08-07 20:38
so we can definitely write code for the 8088 even with a BOM present, which is fun. although I am not sure if it would survive being copied & pasted on social media. hell, enough people are having trouble with the UTF-8 emoji as it is