code generation for assignment statements