Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:instr:clx-stx

CLx / STx

Carry Flag

CLC - Clear Carry Flag

Clears the Carry Flag.

Usage:

	CLC

Modifies flags:

CF

Clocks Size
Operands 808x 286 386 486 Bytes
none 2 2 2 2 1

STC - Set Carry Flag

Sets the Carry Flag to 1.

Usage:

	STC

Modifies flags:

CF

Clocks Size
Operands 808x 286 386 486 Bytes
none 2 2 2 2 1

Direction Flag

CLD - Clear Direction Flag

Clears the Direction Flag causing string instructions to increment the SI and DI index registers.

Usage:

	CLD

Modifies flags:

DF

Clocks Size
Operands 808x 286 386 486 Bytes
none 2 2 2 2 1

STD - Set Direction Flag

Sets the Direction Flag to 1 causing string instructions to auto-decrement SI and DI instead of auto-increment.

Usage:

	STD

Modifies flags:

DF

Clocks Size
Operands 808x 286 386 486 Bytes
none 2 2 2 2 1

Interruption Flag

CLI - Clear Interrupt Flag

Disables the maskable hardware interrupts by clearing the Interrupt flag.

NMI's and software interrupts are not inhibited.

Usage:

	CLI

Modifies flags:

IF

Clocks Size
Operands 808x 286 386 486 Bytes
none 2 2 2 2 1

STI - Set Carry Flag

Sets the Interrupt Flag to 1, enabling recognition of all CPU hardware interrupts.

Usage:

	STI

Modifies flags:

IF

Clocks Size
Operands 808x 286 386 486 Bytes
none 2 2 2 2 1
back2root/ibm-pc-ms-dos/instr/clx-stx.txt · Dernière modification : 2023/03/03 23:53 de 127.0.0.1