~ubuntu-branches/ubuntu/karmic/ocaml-doc/karmic

« back to all changes in this revision

Viewing changes to examples/picomach/code.mli

  • Committer: Bazaar Package Importer
  • Author(s): Vanicat Rémi
  • Date: 2002-02-05 10:51:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020205105143-a061tunf8tev07ne
Tags: 3.04-4
* New debian maintainer
* Split doc-base file
* Move to non-free
* Change the copyright file to the copyright of the documentation
* remove FAQs (their license prohibit their redistribution)
* corrected the examples

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
type registre = int;;
 
2
 
 
3
type op�rande =
 
4
   | Reg of registre
 
5
   | Imm of int;;
 
6
 
 
7
type instruction =
 
8
   | Op of op�ration * registre * op�rande * registre
 
9
   | Jmp of op�rande * registre
 
10
   | Braz of registre * int
 
11
   | Branz of registre * int
 
12
   | Scall of int
 
13
   | Stop
 
14
 
 
15
and op�ration =
 
16
  | Load | Store | Add | Mult | Sub | Div
 
17
  | And | Or | Xor | Shl | Shr
 
18
  | Slt | Sle | Seq;;
 
19
 
 
20
val nombre_de_registres : int;;
 
21
val sp : int;;
 
22
val ra : int;;
 
23
val taille_du_mot : int;;