Moving from c to assembly