/*
adaptation of https://github.com/daid/gameboy-assembly-by-example/blob/master/asm-basic/variables.asm
*/
static ram ByteVariable: u8 = 1;
static ram WordVariable: u16 = 2;
static ram Buffer: [u8; 16] = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18];
fn main() {
*ByteVariable = 100;
*WordVariable = 1000;
memclr_small(Buffer, size_of!(Buffer));
let bite = *ByteVariable;
let chomp = *WordVariable;
loop {}
}