Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6446 GerdtR 1
/* some defines for extracting instruction bit fields from bytes */
2
 
3
#define REG(a)	  (((a)>>3)&7)
4
 
5
#define SCALE(a)  (((a)>>6)&3)
6
 
7
#define BASE(a)   ((a)&7)
8
 
9
typedef union{
10
 
11
    unsigned short ofs;
12
 
13
  }w;
14
 
15
 
16
 
17
/* prototypes */
18
 
19
unsigned char getbyte(void);
20
 
21
int sib();
22
 
23
void uputchar(char );
24
 
25
void outhex(char , int , int , int , int );
26
 
27
void do_sib(int );
28
 
29
void floating_point(int );
30
 
31
 
32