Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / slof / prim.in
1 /******************************************************************************
2  * Copyright (c) 2004, 2008 IBM Corporation
3  * All rights reserved.
4  * This program and the accompanying materials
5  * are made available under the terms of the BSD License
6  * which accompanies this distribution, and is available at
7  * http://www.opensource.org/licenses/bsd-license.php
8  *
9  * Contributors:
10  *     IBM Corporation - initial implementation
11  *****************************************************************************/
12
13 //
14 // Copyright 2002,2003,2004  Segher Boessenkool  <segher@kernel.crashing.org>
15 //
16
17 cod(TIB)
18 cod(POCKETS)
19 cod(EREGS)
20 cod(CIREGS)
21 cod(CISTACK)
22 // compile buffer for the "structure words in interpret mode" OF extension
23 cod(COMP-BUFFER)
24
25 cod(PAFLOF-START)
26 cod(HEAP-START)
27 cod(HEAP-END)
28 // flattened device tree start address
29 cod(FDT-START)
30 // romfs start address
31 cod(ROMFS-BASE)
32 // if the low level firmware is epapr compliant it will put the
33 // epapr magic into r6 before starting paflof
34 // epapr-magic is a copy of r6
35 cod(EPAPR-MAGIC)
36 // ePAPR Initially mapped area size
37 cod(EPAPR-IMA-SIZE)
38
39 cod(BRANCH) _ADDING _O
40 cod(0BRANCH) _ADDING _O
41 dfr(BP)
42 cod(BREAKPOINT)
43
44 cod(LIT) _ADDING _N
45 cod(DOTICK)
46
47 cod(DUP)
48 cod(OVER)
49 cod(PICK)
50 cod(DROP)
51 cod(SWAP)
52
53 cod(>R)
54 cod(R>)
55 cod(R@)
56 cod(RPICK)
57
58 cod(DEPTH)
59 cod(DEPTH!)
60 cod(RDEPTH)
61 cod(RDEPTH!)
62
63 cod(+)
64 cod(-)
65 cod(*)
66 cod(LSHIFT)
67 cod(RSHIFT)
68 cod(ASHIFT)
69 cod(AND)
70 cod(OR)
71 cod(XOR)
72
73 cod(@)
74 cod(!)
75 cod(C@)
76 cod(C!)
77 cod(W@)
78 cod(W!)
79 cod(L@)
80 cod(L!)
81 cod(X@)
82 cod(X!)
83
84 cod(UNALIGNED-W@)
85 cod(UNALIGNED-W!)
86 cod(UNALIGNED-L@)
87 cod(UNALIGNED-L!)
88
89 cod(<)
90 cod(U<)
91 cod(0<)
92 cod(=)
93 cod(0=)
94
95 cod(DODO)
96 cod(DO?DO) _ADDING _O
97 cod(DOLOOP) _ADDING _O
98 cod(DO+LOOP) _ADDING _O
99 cod(DOLEAVE) _ADDING _O
100 cod(DO?LEAVE) _ADDING _O
101
102 cod(EXIT)
103 cod(SEMICOLON)
104 cod(EXECUTE)
105
106 cod(MOVE)
107 // cod(RMOVE64)
108 cod(RMOVE)
109 cod(ZCOUNT)
110 con(HASH-SIZE HASHSIZE)
111 cod(HASH)
112 cod(CLEAN-HASH)
113 cod(HASH-TABLE)