File: asm.h

package info (click to toggle)
mixal 1.08-11
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 212 kB
  • sloc: ansic: 1,597; makefile: 88; awk: 10
file content (19 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* MIX simulator, copyright 1994 by Darius Bacon */ 
#ifndef ASM_H
#define ASM_H

#include "cell.h"

/* --- The assembly buffer --- */

extern Address here;

Cell asm_fetch_field(Address address, unsigned L, unsigned R);
void asm_store_field(Address address, unsigned L, unsigned R, Cell cell);

extern Address entry_point;
void set_entry_point(Address address);

void assemble(Cell cell);

#endif