This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import js.html.Uint8Array; | |
@:build( RegisterMacro.memoryMappedRegister("r0",123) ) | |
class RegTest | |
{ | |
var ram : Uint8Array; | |
public function new() { | |
ram = new Uint8Array(65536); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (instruction & 0xf000) { | |
case 0x0000: { //nop movw muls mulsu fmul fmuls fmulsu cpc sbc add | |
switch (instruction & 0x0c00) { | |
case 0x0000: { | |
switch (instruction & 0xff00) { | |
case 0x0000: { //nop | |
} | |
case 0x0100: { //movw |
NewerOlder