UMBC CMSC 211 199 |
|
UMBC |
CSEE
DirDate | RECORD | Year:7, Month:4, Day: 5 |
modDate | DirDate | <1, 1, 1> |
field | the number of bits that Field is from the right end of the word or byte |
WIDTH Field | is the number of bits in Field |
MASK Field | a bit mask which can be use to extract Field from its word or byte |
mov | ax, modDate | |
and | ax, MASK Month | |
mov | cl Month | |
shr | ax, cl | |
mov | OKMon, ax |