diff options
| author | KuroiIeWa5Da <tyuki@adu.me> | 2012-01-26 06:22:29 -0600 |
|---|---|---|
| committer | KuroiIeWa5Da <tyuki@adu.me> | 2012-01-26 06:22:29 -0600 |
| commit | bf1968297996fa8e2a5f004d60b83e516840a632 (patch) | |
| tree | 5ae653257dc979e098c4a7aaac3996cdb42138d3 /music/pokeredmusicdisasm/UnkEB.h | |
| parent | Finished MeetProfOak Channel 3 Music Data (diff) | |
| download | pokeyellow-bf1968297996fa8e2a5f004d60b83e516840a632.tar.gz pokeyellow-bf1968297996fa8e2a5f004d60b83e516840a632.tar.xz pokeyellow-bf1968297996fa8e2a5f004d60b83e516840a632.zip | |
Made several large upgrades to Music Disassembler
hg-commit-id: 0b180a6e2ec5
Diffstat (limited to 'music/pokeredmusicdisasm/UnkEB.h')
| -rw-r--r-- | music/pokeredmusicdisasm/UnkEB.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/music/pokeredmusicdisasm/UnkEB.h b/music/pokeredmusicdisasm/UnkEB.h new file mode 100644 index 00000000..ab11a655 --- /dev/null +++ b/music/pokeredmusicdisasm/UnkEB.h @@ -0,0 +1,29 @@ +#ifndef UNKEB_H
+#define UNKEB_H
+
+#include "AbstractData.h"
+
+// Represents an unknown opcode
+class UnkEB : public AbstractData
+{
+public:
+ // Constructors
+ UnkEB();
+ UnkEB(unsigned char* byte); // Parse Immidiately
+ UnkEB(unsigned char code, bool); // Set Value
+
+ // Getters / Setters
+ unsigned char GetParam();
+ void SetParam(unsigned char value);
+
+ // Re-implemented
+ virtual std::string GenAsm();
+ virtual bool Parse(unsigned char* byte);
+ virtual bool IsValid(unsigned char* byte);
+ virtual unsigned int Arguments();
+
+private:
+ unsigned char param;
+};
+
+#endif
\ No newline at end of file |
