GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Enumerations | Functions
alu_cc.h File Reference
#include "ge.h"

Go to the source code of this file.

Enumerations

enum  alu_cc {
  ALU_CC_LOW = 1 , ALU_CC_NEG = 1 , ALU_CC_EQUAL = 2 , ALU_CC_ZERO = 2 ,
  ALU_CC_HIGH = 3 , ALU_CC_POS = 3 , ALU_CC_OVF = 0
}
 

Functions

void alu_set_cc (struct ge *ge, uint8_t cc)
 
uint8_t alu_get_cc (struct ge *ge)
 

Enumeration Type Documentation

◆ alu_cc

enum alu_cc
Enumerator
ALU_CC_LOW 
ALU_CC_NEG 
ALU_CC_EQUAL 
ALU_CC_ZERO 
ALU_CC_HIGH 
ALU_CC_POS 
ALU_CC_OVF 

Definition at line 50 of file alu_cc.h.

Function Documentation

◆ alu_get_cc()

uint8_t alu_get_cc ( struct ge ge)

Definition at line 18 of file alu_cc.c.

◆ alu_set_cc()

void alu_set_cc ( struct ge ge,
uint8_t  cc 
)

Definition at line 4 of file alu_cc.c.