From 954e5cc96a86256f9f49a7c8c5d572d8171b5ceb Mon Sep 17 00:00:00 2001 From: mykola2312 <49044616+mykola2312@users.noreply.github.com> Date: Thu, 1 Aug 2024 00:33:01 +0300 Subject: [PATCH] update on plan --- plan.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plan.txt b/plan.txt index da3750e..24bfb26 100644 --- a/plan.txt +++ b/plan.txt @@ -1,4 +1,4 @@ -Just parse all prefixes and skip them, but some of the prefixes like 0x66 can dictate size of immediate -"args" parser field would tell if instruction has immediate and what type it could be, -while "op_enc" dictates presense of ModRM, and ModRM tells if instruction has SIB byte. -Decode VEX prefixes. 0xC5 for 3-byte VEX and 0xC4 for 2-byte prefix \ No newline at end of file +The Intel OpCode Syntax can tell if there is ModRM byte, as well as if registers is being encoded in opcode (rb for example), +and can tell size of immediate (ib iw id for example). The /digit can also indiciate presense of ModRM. +The size of displacement is also dictated by cw/cd. +VEX prefixes. 0xC5 for 3-byte VEX and 0xC4 for 2-byte prefix \ No newline at end of file