diff --git a/stage1/High_level_prototypes/stage1_assembler-1.c b/stage1/High_level_prototypes/stage1_assembler-1.c index a842d47..1ab383c 100644 --- a/stage1/High_level_prototypes/stage1_assembler-1.c +++ b/stage1/High_level_prototypes/stage1_assembler-1.c @@ -39,8 +39,8 @@ void storePointer() int c = fgetc(source_file); int target = table[c]; uint8_t first, second; - first = (target - ip + 4)/256; - second = (target - ip + 4)%256; + first = (target - ip)/256; + second = (target - ip)%256; printf("%c%c", first, second ); }