| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,31 @@ |
| 1 |
+/* |
|
| 2 |
+ * Author: Pawel Jablonski |
|
| 3 |
+ * E-mail: pj@xirx.net |
|
| 4 |
+ * WWW: xirx.net |
|
| 5 |
+ * GIT: git.xirx.net |
|
| 6 |
+ * |
|
| 7 |
+ * License: You can use this code however you like |
|
| 8 |
+ * but leave information about the original author. |
|
| 9 |
+ * Code is free for non-commercial and commercial use. |
|
| 10 |
+ */ |
|
| 11 |
+ |
|
| 12 |
+#ifndef UCODE_H |
|
| 13 |
+#define UCODE_H |
|
| 14 |
+ |
|
| 15 |
+#include <QVector> |
|
| 16 |
+ |
|
| 17 |
+//! This class contains a parsed microcode of the single step |
|
| 18 |
+class UCode |
|
| 19 |
+{
|
|
| 20 |
+ public: |
|
| 21 |
+ UCode(); |
|
| 22 |
+ UCode(unsigned char code0, unsigned char code1); |
|
| 23 |
+ |
|
| 24 |
+ unsigned char getCode0() const; |
|
| 25 |
+ unsigned char getCode1() const; |
|
| 26 |
+ |
|
| 27 |
+ private: |
|
| 28 |
+ QVector<unsigned char> code = QVector<unsigned char>(2); //!< Low and high bytes of the microcode |
|
| 29 |
+}; |
|
| 30 |
+ |
|
| 31 |
+#endif |