spo600:machine_language
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
spo600:machine_language [2025/01/08 21:40] – [Relationship to Other Languages] chris | spo600:machine_language [2025/01/08 21:44] (current) – chris | ||
---|---|---|---|
Line 9: | Line 9: | ||
Many early computers encoded the [[Operation|operation]] and [[Addressing Mode|addressing mode]] as a distinct [[word# | Many early computers encoded the [[Operation|operation]] and [[Addressing Mode|addressing mode]] as a distinct [[word# | ||
+ | Obviously, instructions are specific to a particular type of CPU, and the same opcode may mean very different things on different processors. For example, the opcode 0xA9 ($A9) means "Load Accumulator - Immediate" | ||
Other processors encode instructions as bit fields packed with a instruction word. For example, specific bits within an instruction word specify the operation, other bits specify the addressing mode, and still other bits specify the register(s) and other arguments. | Other processors encode instructions as bit fields packed with a instruction word. For example, specific bits within an instruction word specify the operation, other bits specify the addressing mode, and still other bits specify the register(s) and other arguments. | ||
spo600/machine_language.1736372419.txt.gz · Last modified: 2025/01/08 21:40 by chris