diff options
Diffstat (limited to 'sts/ia32/branch.sts')
-rw-r--r-- | sts/ia32/branch.sts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sts/ia32/branch.sts b/sts/ia32/branch.sts new file mode 100644 index 0000000..35177f6 --- /dev/null +++ b/sts/ia32/branch.sts @@ -0,0 +1,11 @@ +defasm branch + # 8b ?' # 36 ?' ; mov esi, [esi] +next + +defasm 0branch + # 58 ?' ; pop eax + # 83 ?' # c6 ?' # 4 ?' ; add esi, 4 + # 83 ?' # f8 ?' # 0 ?' ; cmp eax, 0 + # 75 ?' # 3 ?' ; jne +3 + # 8b ?' # 76 ?' # fc ?' ; mov esi, [esi - 4] +next |