mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
23 lines
577 B
Plaintext
23 lines
577 B
Plaintext
# The OS/K Team licenses this file to you under the MIT license.
|
|
# See the LICENSE file in the project root for more information.
|
|
|
|
Instruction encoding:
|
|
|
|
Byte: Instruction number
|
|
|
|
Values for ModRMs:
|
|
000xxxxx xxxxx = reg
|
|
|
|
(for memory accesses, xxxxx = access size)
|
|
001xxxxx [reg]
|
|
010xxxxx [reg+reg]
|
|
011xxxxx [reg+imm16]
|
|
100xxxxx [reg+reg+imm32]
|
|
101xxxxx [reg+reg*imm8+imm32]
|
|
110xxxxx [reg+imm64]
|
|
11100001 imm8 (zero extended)
|
|
11100010 imm16 (zero extended)
|
|
11100100 imm32 (zero extended)
|
|
11101000 imm64 (zero extended)
|
|
|