Deriving a new dialect of Very Tiny Language from VTL-2 6800 version
修订版 | ad4fbff4ac0b35e09fda2b0fc50904e4730b3f5f (tree) |
---|---|
时间 | 2022-09-25 21:20:20 |
作者 | Joel Matthew Rees <joel.rees@gmai...> |
Commiter | Joel Matthew Rees |
best version for EXORsim (no stack blast)
@@ -540,7 +540,7 @@ EVAL4 CMPA #'/ ; SEE IF IT'S DIVIDE | ||
540 | 540 | EVAL5 SUBA #'= ; SEE IF EQUAL TEST |
541 | 541 | BNE EVAL6 |
542 | 542 | PULA |
543 | - BSR SUBTR | |
543 | + SUBD 0,X | |
544 | 544 | BNE NOTEQ |
545 | 545 | TSTB |
546 | 546 | BEQ EQL |
@@ -551,7 +551,7 @@ EVAL6 DECA ; SEE IF LESS THAN TEST | ||
551 | 551 | PULA |
552 | 552 | BEQ EVAL7 |
553 | 553 | * |
554 | -SUB2 BSR SUBTR | |
554 | +SUB2 SUBD 0,X | |
555 | 555 | ROLB |
556 | 556 | COMOUT CLRA |
557 | 557 | ANDB #$01 |
@@ -581,7 +581,7 @@ GOT INC MLDVCT | ||
581 | 581 | ROR 1,X |
582 | 582 | CLR DIVQUO |
583 | 583 | CLR DIVQUO+1 |
584 | -DIV2 BSR SUBTR | |
584 | +DIV2 SUBD 0,X | |
585 | 585 | BCC OK |
586 | 586 | ADDD 0,X |
587 | 587 | CLC |