17.11.2014 Views

CYASM ASSEMBLER USER'S GUIDE VERSION 1.77

CYASM ASSEMBLER USER'S GUIDE VERSION 1.77

CYASM ASSEMBLER USER'S GUIDE VERSION 1.77

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JC Jump if Carry JC<br />

Syntax:<br />

Operation:<br />

Description:<br />

JC address<br />

if CF=1, then pc ← k<br />

If the carry flag is set, then jump to the address (place the address in the program<br />

counter).<br />

Condition Flags:<br />

CF:<br />

ZF:<br />

Carry flag unaffected.<br />

Zero flag unaffected.<br />

Source Machine Code Cycles<br />

Format Opcode Operand<br />

JC address Cxh address byte 5<br />

JMP Jump JMP<br />

Syntax:<br />

Operation:<br />

Description:<br />

JMP address<br />

pc ← k<br />

Jump unconditionally to the address (place the address in the program counter).<br />

Condition Flags:<br />

CF:<br />

ZF:<br />

Carry flag unaffected.<br />

Zero flag unaffected.<br />

Source Machine Code Cycles<br />

Format Opcode Operand<br />

JMP address 8xh address byte 5<br />

JNC Jump if No Carry JNC<br />

Syntax:<br />

Operation:<br />

Description:<br />

JNC address<br />

if CF=0 then pc ← k<br />

If the carry flag is not set, then jump to the address (place the address in the program<br />

counter).<br />

Condition Flags:<br />

CF:<br />

ZF:<br />

Carry flag unaffected.<br />

Zero flag unaffected.<br />

Source Machine Code Cycles<br />

Format Opcode Operand<br />

JNC address Dxh address byte 5<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!