X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=misc%2Fdecoder_test%2Ftest.asm;fp=misc%2Fdecoder_test%2Ftest.asm;h=34245ee262ae2a1a0112347dcc652f6edf0dc174;hp=0000000000000000000000000000000000000000;hb=ddc16b0737cf58f7aa90a69c6652cdf4090aec51;hpb=626595465a2c6987606a6bc697df65130ad8c2d3 diff --git a/misc/decoder_test/test.asm b/misc/decoder_test/test.asm new file mode 100644 index 0000000..34245ee --- /dev/null +++ b/misc/decoder_test/test.asm @@ -0,0 +1,29 @@ +[BITS 32] +[ORG 0x0] +lea eax, [ebx] +mov eax, [ebx] +mov ax, [ebx] +mov ax, [ebx +8*edi] +mov [ebx], eax +mov [ebx +4*edi], eax +es mov [ebx], eax +movsw +rep movsw + +mov eax, ebx +popa +pusha +push eax + +mov eax, 100 +mov [ebx + 2*esi], word 0x4 + +add ebx, 200 + +add eax, ebx +out 0x64, al + +lmsw ax +smsw ax +mov cr0, eax +clts \ No newline at end of file