source: Deliverables/D4.1/Physical.mli @ 144

Last change on this file since 144 was 144, checked in by sacerdot, 10 years ago

The sp can also point to upper internal ram. Fixed everywhere.

File size: 541 bytes
Line 
1open BitVectors;;
2
3exception Byte7_conversion
4
5module type Map =
6 sig
7  type key
8  type map
9   val empty : map
10   val find : key -> map -> byte
11   val add : key -> byte -> map -> map
12 end
13;;
14
15module Byte7Map : Map with type key = byte7
16module WordMap : Map with type key = word
17
18val int_of_bit: bit -> int
19
20val subb8_with_c:
21 byte -> byte -> bit -> byte * bit * bit * bit (* -, c, ac, ov *)
22val add8_with_c:
23 byte -> byte -> bit -> byte * bit * bit * bit
24val dec: byte -> byte (* with roll-over *)
25val inc: byte -> byte (* with roll-over *)
Note: See TracBrowser for help on using the repository browser.