3A LitVarStr

All one byte opcodes
Forum rules
This OpCode table has exactly 251 OpCodes (0-FA). The "OpCodes" FB to FF are a prefix for the various Leads that you can find in their respective forum. If you see any OpCode missing then it is a duplicate for the OpCode 1 - InvalidExcode / VCallVar

3A LitVarStr

Postby PCodeEditor » Tue Nov 19, 2002 7:27 pm

NumBytes: 5<br>ArgStr: luaz<br>SrcStr: |<br>Comments: have something on this just confused
PCodeEditor
 

Re: 3A LitVarStr

Postby gxm_nicholas » Sun Apr 27, 2008 10:46 am

OpLitVarStr: ; CODE XREF: ProcCallEngine+F9j
ENGINE:7348E3C2 ; ProcCallEngine+14Fj ...
ENGINE:7348E3C2 movsx edi, word ptr [esi] ;get address to store string
ENGINE:7348E3C5 movzx eax, word ptr [esi+2];get constant pool index
ENGINE:7348E3C9 mov edx, [ebp-54h];get constant pool base address
ENGINE:7348E3CC mov eax, [edx+eax*4];get string constant address
ENGINE:7348E3CF add edi, ebp;calculate local variable address to store string
ENGINE:7348E3D1 mov word ptr [edi], 8
ENGINE:7348E3D6 mov [edi+8], eax;store string address ;
ENGINE:7348E3D9 push edi
ENGINE:7348E3DA xor eax, eax
ENGINE:7348E3DC mov al, [esi+4]
ENGINE:7348E3DF add esi, 5
ENGINE:7348E3E2 jmp ds:OpcodeTable[eax*4] ; jumptable 7348E9F8 case 28
gxm_nicholas
New User
New User
 
Posts: 1
Joined: Sun Apr 27, 2008 10:41 am


Return to Base

Who is online

Users browsing this forum: No registered users and 1 guest

cron