C# 클래스 kOS.Safe.Compilation.OpcodeStoreGlobal

Consumes the topmost 2 values of the stack, storing the topmost stack value into a variable described by the next value down the stack.

The variable will always be stored at a global scope, overwriting whatever else was there if the variable already existed.

It will ignore local scoping and never store the value in a local variable

It's impossible to make a variable that hasn't been given an initial value. Its the act of storing a value into the variable that causues it to exist. This is deliberate design.
상속: Opcode
파일 보기 프로젝트 열기: KSP-KOS/KOS

공개 메소드들

메소드 설명
Execute ( ICpu cpu ) : void

메소드 상세

Execute() 공개 메소드

public Execute ( ICpu cpu ) : void
cpu ICpu
리턴 void