2024-04-29 22:03:14 +08:00
|
|
|
class dtMemoryError(Exception):
|
2024-04-29 16:00:03 +08:00
|
|
|
pass
|
2024-05-02 08:54:42 +08:00
|
|
|
|
|
|
|
|
2024-04-29 22:03:14 +08:00
|
|
|
class AddressError(dtMemoryError):
|
|
|
|
pass
|
|
|
|
|
2024-05-02 08:54:42 +08:00
|
|
|
|
2024-04-29 22:03:14 +08:00
|
|
|
class OutOfMemory(dtMemoryError):
|
|
|
|
pass
|
2024-05-02 08:54:42 +08:00
|
|
|
|
|
|
|
|
2024-04-29 22:03:14 +08:00
|
|
|
class InstructionError(Exception):
|
|
|
|
pass
|
2024-05-02 08:54:42 +08:00
|
|
|
|
|
|
|
|
2024-04-29 22:03:14 +08:00
|
|
|
class InvalidInstruction(InstructionError):
|
|
|
|
pass
|
2024-05-02 08:54:42 +08:00
|
|
|
|
|
|
|
|
2024-04-29 22:03:14 +08:00
|
|
|
class BadOperand(InstructionError):
|
2024-05-02 08:54:42 +08:00
|
|
|
pass
|