/** * Stack manipulation instructions */ import type { ExecContext } from "../types.ts"; /** DUP - Duplicate top of stack */ export declare function DUP(ctx: ExecContext): void; /** POP - Pop top of stack */ export declare function POP(ctx: ExecContext): void; /** CLEAR - Clear the entire stack */ export declare function CLEAR(ctx: ExecContext): void; /** SWAP - Swap top two elements */ export declare function SWAP(ctx: ExecContext): void; /** DEPTH - Push stack depth */ export declare function DEPTH(ctx: ExecContext): void; /** CINDEX - Copy indexed element to top */ export declare function CINDEX(ctx: ExecContext): void; /** MINDEX - Move indexed element to top */ export declare function MINDEX(ctx: ExecContext): void; /** ROLL - Roll top three elements */ export declare function ROLL(ctx: ExecContext): void; /** Push byte(s) from instruction stream */ export declare function PUSHB(ctx: ExecContext, count: number): void; /** Push word(s) from instruction stream */ export declare function PUSHW(ctx: ExecContext, count: number): void; /** NPUSHB - Push N bytes */ export declare function NPUSHB(ctx: ExecContext): void; /** NPUSHW - Push N words */ export declare function NPUSHW(ctx: ExecContext): void;