annotate tests/emu/test.c @ 30:c0c2e99b6bb0

fixed negative rel8 address bug in assembler
author james <jb302@eecs.qmul.ac.uk>
date Tue, 15 Apr 2014 12:21:22 +0100
parents 83e80c2c489c
children
rev   line source
jb302@28 1 #include <stdio.h>
jb302@28 2
jb302@29 3 unsigned char regs[0x10];
jb302@29 4
jb302@28 5 void
jb302@28 6 main(void) {
jb302@30 7 unsigned char C = 0xFD;
jb302@30 8 printf("%i", (signed char)C);
jb302@28 9 }