diff --git a/include/rot8/rot8.h b/include/rot8/rot8.h index 24f7e2d..ea6482b 100644 --- a/include/rot8/rot8.h +++ b/include/rot8/rot8.h @@ -12,7 +12,7 @@ typedef uint8_t rot8_loop_depth; typedef uint8_t rot8_ins_size; // #define DATA_WIDTH (sizeof(rot8_data) * CHAR_BIT) -#define UNIT_SIZE 17 // Just for test. +#define UNIT_SIZE 8 // Just for test. typedef enum { STP, // Step Tape Pointer,'>' diff --git a/tests/vm_test.c b/tests/vm_test.c index dd4f01b..6bfaacb 100644 --- a/tests/vm_test.c +++ b/tests/vm_test.c @@ -3,7 +3,7 @@ int main(int argc, char **argv) { (void)argc; (void)argv; - char ins[] = ",>-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+[<[-]+>-+]<."; + char ins[] = ",>-+-+-+-+-+-+-+-+[<[-]+>-+]<"; run(ins, sizeof(ins) / sizeof(ins[0]) - 1); return (0); } \ No newline at end of file