Skip to content

Comment on x86 architecture 1 byte opcodesparent

Comments

Tons of these have immediate operands. The question becomes is ADD with an implicit register destination and an immediate value in the next byte a "1-byte opcode"?

Yes, indeed. I'd allow only mov to have a memory or immediate parameter as the only exception to one-byte encoding.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.