{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

DerekChiou_EE306_Spring2009_Lecture10

# DerekChiou_EE306_Spring2009_Lecture10 -...

This preview shows pages 1–4. Sign up to view the full content.

© Derek Chiou Lecture 10: Programming Prof. Derek Chiou University of Texas at Austin

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2/23/2009 © Derek Chiou : EE306: Lecture 10 Recap LC-3 continued Problem Solving Outline Problem Solving (or, How to Program) 2
The “=“ Sign: indicating equivalence,  assignment, equality operator You are used to using equal in math equations (x + y) 2 = x 2 + 2xy + y 2 The equal sign indicates that both sides are equivalent We don’t use “=“ this way very often in computing Assignment Oops = missile_launched Good = cheap AND plentiful A = A + 1 A <- A + 1 The value of the right side of the equal sign is copied to the left side Not always the same Equality operator (often written as 2 “=“ signs or “==“) if (babyMood == crying) then GetUp Check if the left side and the right side are equal and produce True if they are and False if they are not 2/23/2009 © Derek Chiou : EE306: Lecture 10 3

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 14

DerekChiou_EE306_Spring2009_Lecture10 -...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online