@type address: int @param address: Memory address where the code was read from. @type code: str @param code: Machine code to disassemble. @rtype: list of tuple( long, int, str, str ) @return: List of tuples. Each tuple represents an assembly inst
(self, address, code)
| 152 | raise SyntaxError("Subclasses MUST implement this method!") |
| 153 | |
| 154 | def decode(self, address, code): |
| 155 | """ |
| 156 | @type address: int |
| 157 | @param address: Memory address where the code was read from. |
| 158 | |
| 159 | @type code: str |
| 160 | @param code: Machine code to disassemble. |
| 161 | |
| 162 | @rtype: list of tuple( long, int, str, str ) |
| 163 | @return: List of tuples. Each tuple represents an assembly instruction |
| 164 | and contains: |
| 165 | - Memory address of instruction. |
| 166 | - Size of instruction in bytes. |
| 167 | - Disassembly line of instruction. |
| 168 | - Hexadecimal dump of instruction. |
| 169 | |
| 170 | @raise NotImplementedError: This disassembler could not be loaded. |
| 171 | This may be due to missing dependencies. |
| 172 | """ |
| 173 | raise NotImplementedError() |
| 174 | |
| 175 | |
| 176 | # ============================================================================== |
no outgoing calls
no test coverage detected