User Tools

Site Tools


notes:asm:notapi

NOT Class

The NOT Class implements a functional not gate for use in our CPU Simulator.

NOT Constructor

NOT myNotGate();
Function Parameter Return Value
NOT() None Pointer/Variable Instantiation of a Not Gate

Parameterless constructor to instantiate a new NOT.

set(bool)

Accepts a boolean value and sets input to the value of that parameter.

myNotGate.set(bool);
Function Parameter Return Value
void set() bool none

get()

get() will return the output of the NOT.

myNotGate.get();
Function Parameter Return Value
bool get() none bool
notes/asm/notapi.txt · Last modified: 2011/01/30 10:44 by bh011695