lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/debugger/InternalRegisterBean.java
public void updateRegisters(WAMInternalRegisters registers)
    {
        List<PropertyChangeEvent> changes = delta(this, registers);

        ip = registers.ip;
        hp = registers.hp;
        hbp = registers.hbp;
        sp = registers.sp;
        up = registers.up;
        ep = registers.ep;
        bp = registers.bp;
        b0 = registers.b0;
        trp = registers.trp;
        writeMode = registers.writeMode;

        notifyChanges(changes);
    }
public void updateRegisters(WAMInternalRegisters registers)
    {
        List<PropertyChangeEvent> changes = delta(this, registers);

        ip = registers.ip;
        hp = registers.hp;
        hbp = registers.hbp;
        sp = registers.sp;
        up = registers.up;
        ep = registers.ep;
        bp = registers.bp;
        b0 = registers.b0;
        trp = registers.trp;
        writeMode = registers.writeMode;

        notifyChanges(changes);
    }
Updates the register file, with a new set of registers.

@param registers The new register values.