export class StatusWord { private _carry : boolean = false ; private _zero : boolean = false ; private _overflow : boolean = false ; private _signum : boolean = false ; private _parity : boolean = false ; private _direction : boolean = false ; get carry ( ) : boolean { return this . _carry ; } set carry ( value ) { this . _carry = value ; } get zero ( ) : boolean { return this . _zero ; } set zero ( value ) { this . _zero = value ; } get overflow ( ) : boolean { return this . _overflow ; } set overflow ( value ) { this . _overflow = value ; } get signum ( ) : boolean { return this . _signum ; } set signum ( value ) { this . _signum = value ; } get parity ( ) : boolean { return this . _parity ; } set parity ( value ) { this . _parity = value ; } get direction ( ) : boolean { return this . _direction ; } set direction ( value ) { this . _direction = value ; } toString ( ) { return "[CF: " + this . carry + ", ZF: " + this . zero + ", OF: " + this . overflow + " SF: " + this . signum + ", DF: " + this . direction + "]" ; } }