raz
/
conform
/
err
/ BytesVolatile.raz
about
files
log
releases
feed
10 lines · 216 B ·
raw
·
history
· last change
264716cb
1
module
BytesVolatile;
2
import
SYSTEM;
3
type
Regs =
record
ctrl:
U32
; status:
U32
;
end
;
4
proc
main*;
5
var
r: ^
VOLATILE
Regs; b: []
U8
;
6
begin
7
r := ^
VOLATILE
Regs(
0FEE00000H
);
8
b := BYTES(r^);
9
end
;
10
end
BytesVolatile.