import { UnaryWriteOperation } from "./instruction" ; import { CPU } from "../cpu" ; export class Pop extends UnaryWriteOperation { execute ( cpu ) { this . target . setValue ( cpu . pop ( ) ) ; return cpu . getNextInstruction ( ) ; } }