2015-01-22 21:32:46 +00:00
|
|
|
/// <reference path="Byte.ts" />
|
2015-01-23 19:46:23 +00:00
|
|
|
/// <reference path="LCD.ts" />
|
2015-01-25 20:06:11 +00:00
|
|
|
/// <reference path="Memory.ts" />
|
|
|
|
/// <reference path="Registers.ts" />
|
|
|
|
/// <reference path="ops/0x0.ts" />
|
2015-01-27 20:11:57 +00:00
|
|
|
|
2015-01-22 21:32:46 +00:00
|
|
|
var TI = (function () {
|
|
|
|
function TI() {
|
|
|
|
}
|
2015-01-27 20:11:57 +00:00
|
|
|
TI.PerformOperation = function (data) {
|
|
|
|
this.Opcodes[data[0].Get()](data);
|
|
|
|
};
|
|
|
|
|
2015-01-22 21:32:46 +00:00
|
|
|
TI.Init = function () {
|
2015-01-23 19:46:23 +00:00
|
|
|
LCD.Init();
|
2015-01-25 20:06:11 +00:00
|
|
|
var a = new Byte(0xF0);
|
|
|
|
var b = new Byte(10);
|
2015-01-27 20:11:57 +00:00
|
|
|
|
2015-01-23 06:05:27 +00:00
|
|
|
//a.Sub(b);
|
2015-01-27 20:11:57 +00:00
|
|
|
//alert(a.Get());
|
2015-01-25 20:06:11 +00:00
|
|
|
a.ShiftLeft(true);
|
2015-01-27 20:11:57 +00:00
|
|
|
//alert(a.Get());
|
2015-01-22 21:32:46 +00:00
|
|
|
};
|
2015-01-25 20:06:11 +00:00
|
|
|
TI.Opcodes = [];
|
2015-01-22 21:32:46 +00:00
|
|
|
return TI;
|
|
|
|
})();
|
2015-01-27 20:11:57 +00:00
|
|
|
//# sourceMappingURL=TI.js.map
|