CIS 351 |
Intro to Assembly |
Winter 2026 |
add $10, $5, $3
0x012c1020 = 0000 0001 0010 1100 0001 0000 0010 0000?
parrotTrouble that takes a Boolean and an int as input and returns true if the parrot is talking before 7:00
or after 20:59 (i.e., the hour is less than 7 or greater than 20.)
(This is parrotTrouble from CodingBat.)0xca and 0x63 0xca or 0x63 not 0x63 not 0x0 not 0x1 not alone won't "flip" 1 to 0 and 0 to 1.
What operation can you add that will have the desired effect?
true if one or the other is teen, but not both.
(This is loneTeen from CodingBat.)Updated Friday, 13 February 2026, 5:55 PM