prep for notable re-org
This commit is contained in:
parent
024115e389
commit
c8b192cade
4 changed files with 31 additions and 18 deletions
|
@ -68,9 +68,9 @@ read size addr
|
|||
| otherwise = return $ busValFromByte size 0x00
|
||||
|
||||
extractLowestByte :: BusVal -> Byte
|
||||
extractLowestByte (BusByte b) = b
|
||||
extractLowestByte (BusHalfWord hw) = resize hw
|
||||
extractLowestByte (BusFullWord fw) = resize fw
|
||||
extractLowestByte (BusByte b) = b
|
||||
extractLowestByte (BusHalfWord hw) = resize hw
|
||||
extractLowestByte (BusFullWord fw) = resize fw
|
||||
extractLowestByte (BusDoubleWord dw) = resize dw
|
||||
extractLowestByte (BusQuadWord qw) = resize qw
|
||||
|
||||
|
|
Reference in a new issue