codeGen Assignment works better, deleted stackpointer because it seems useless