VB Decompiler Forum Index VB Decompiler
Hosted by TheAutomaters.com
 
  MemberlistMemberlist
 

Opcode internal database

 
   VB Decompiler Forum Index -> The Code
Author Message
Anonymous
New User


Joined: 10 Feb 2008
Posts: 0

Posted: Wed Dec 11, 2002 11:13 am     Post subject: Opcode internal database

Ok, i'd like to discuss the format of our internal structures for storing each opcode. This is what MrU has started to define:

Type tOpCode
Name As String
NumberOfBytes As Integer
ArgStr As String
SourceString As String ' first Char is:
' > output
' < to stack
' | to ignore it
Offset As Long
OutputString As String
End Type


But I believe that we may need to add to this structure...
Back to top
sarge
Moderator


Joined: 24 Sep 2002
Posts: 194

Posted: Wed Dec 11, 2002 2:12 pm     Post subject:

Will a co-operative use of NumberOfBytes and ArgStr allow determination of the number of parameters and the number of bytes accociated with each? Will we need to? For example, will an opCode that indicates it takes 4 bytes, need to know that it has 1 parameter with 4 bytes, or 2 parameters with 2 bytes each, or maybe 2 parameters with 1 byte and 3 bytes?

Sarge
Back to top
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Wed Dec 11, 2002 4:04 pm     Post subject:

[="sarge":1kdgk802]Will a co-operative use of NumberOfBytes and ArgStr allow determination of the number of parameters and the number of bytes accociated with each? Will we need to? For example, will an opCode that indicates it takes 4 bytes, need to know that it has 1 parameter with 4 bytes, or 2 parameters with 2 bytes each, or maybe 2 parameters with 1 byte and 3 bytes?

Sarge[/:1kdgk802]

NumberOfBytes defines total....and the ArgStr determines how those are used as parameters
_________________
-MrU
Back to top
   VB Decompiler Forum Index -> The Code All times are GMT
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group