MCPcopy Create free account
hub / github.com/badvision/jace / setStatus

Method setStatus

src/main/java/jace/apple2e/MOS65C02.java:1140–1148  ·  view source on GitHub ↗
(byte b)

Source from the content-addressed store, hash-verified

1138 }
1139
1140 private void setStatus(byte b) {
1141 N = (b & 0x080) != 0;
1142 V = (b & 0x040) != 0;
1143 // B flag is unaffected in this way.
1144 D = (b & 0x08) != 0;
1145 I = (b & 0x04) != 0;
1146 Z = (b & 0x02) != 0;
1147 C = (char) (b & 0x01);
1148 }
1149
1150 private void returnFromInterrupt() {
1151 setStatus(pop());

Callers 2

returnFromInterruptMethod · 0.95
COMMANDEnum · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected