Difference between revisions of "Lua:getInstructionSize"

From Cheat Engine
Jump to navigation Jump to search
(Replaced content with '<span style="font-size:25px;color:red">Sorry! Content not available.</span>')
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
 
Line 1: Line 1:
<span style="font-size:25px;color:red">Sorry! Content not available.</span>
+
[[Category:Lua]]
 +
'''function''' getInstructionSize(''Address'') ''':''' integer
 +
 
 +
Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you).
 +
 
 +
=== Function Parameters ===
 +
 
 +
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 +
!align="left"|Parameter
 +
!align="left"|Type
 +
!style="width: 80%;background-color:white;" align="left"|Description
 +
|-
 +
|Address
 +
|[[CEAddressString]] or Integer
 +
|The address of the instruction
 +
|}
 +
 
 +
 
 +
{{LuaSeeAlso}}
 +
 
 +
=== Related Functions ===
 +
* [[Lua:disassemble|disassemble]]
 +
* [[Lua:getPreviousOpcode|getPreviousOpcode]]
 +
* [[Lua:splitDisassembledString|splitDisassembledString]]
 +
* [[Lua:AOBScan|AOBScan]]
 +
* [[Lua:autoAssemble|autoAssemble]]
 +
* [[Lua:readBytes|readBytes]]
 +
* [[Lua:readPointer|readPointer]]
 +
* [[Lua:writeBytes|writeBytes]]
 +
* [[Lua:readBytesLocal|readBytesLocal]]
 +
* [[Lua:readPointerLocal|readPointerLocal]]
 +
* [[Lua:writeBytesLocal|writeBytesLocal]]
 +
* [[Lua:wordToByteTable|wordToByteTable]]
 +
* [[Lua:dwordToByteTable|dwordToByteTable]]
 +
* [[Lua:qwordToByteTable|qwordToByteTable]]
 +
* [[Lua:floatToByteTable|floatToByteTable]]
 +
* [[Lua:doubleToByteTable|doubleToByteTable]]
 +
* [[Lua:stringToByteTable|stringToByteTable]]
 +
* [[Lua:wideStringToByteTable|wideStringToByteTable]]
 +
* [[Lua:byteTableToWord|byteTableToWord]]
 +
* [[Lua:byteTableToDword|byteTableToDword]]
 +
* [[Lua:byteTableToQword|byteTableToQword]]
 +
* [[Lua:byteTableToFloat|byteTableToFloat]]
 +
* [[Lua:byteTableToDouble|byteTableToDouble]]
 +
* [[Lua:byteTableToString|byteTableToString]]
 +
* [[Lua:byteTableToWideString|byteTableToWideString]]

Latest revision as of 14:07, 18 March 2019

function getInstructionSize(Address) : integer

Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you).

Function Parameters[edit]

Parameter Type Description
Address CEAddressString or Integer The address of the instruction


See also[edit]

Related Functions[edit]