BAM
Abstract Machine for Bottom-Up Evaluation with the Push Method
Typedefs | Enumerations | Functions
itype.h File Reference

Enumeration type for classifying BAM instructions by arguments. More...

#include "../base/ver.h"
#include "../base/str.h"
#include "../base/check.h"

Go to the source code of this file.

Typedefs

typedef enum itype_enum itype_t
 

Enumerations

enum  itype_enum {
  ITYPE_NONE,
  ITYPE_8,
  ITYPE_16,
  ITYPE_8_8,
  ITYPE_8_8_8,
  ITYPE_8_16,
  ITYPE_8_16_8
}
 

Functions

str_t itype_name (itype_t itype)
 

Detailed Description

Enumeration type for classifying BAM instructions by arguments.

Typedef Documentation

typedef enum itype_enum itype_t

Instructions types (classified by number and length of arguments).

Enumeration Type Documentation

enum itype_enum

Instructions types (classified by number and length of arguments).

Function Documentation

str_t itype_name ( itype_t  itype)

This returns a string representation of the instruction type.

Returns
enumeration value as string, e.g. "ITYPE_8".