C# 클래스 Assembler.Operand

파일 보기 프로젝트 열기: Rohansi/VM 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Byte bool
Label string
Line int
OperandType OperandType
Payload short?
Pointer bool

공개 메소드들

메소드 설명
FromLabel ( string label, int line, bool ptr, bool b ) : Operand
FromNumber ( short number, bool ptr, bool b ) : Operand
FromRegister ( Registers register, bool ptr, bool b ) : Operand

메소드 상세

FromLabel() 공개 정적인 메소드

public static FromLabel ( string label, int line, bool ptr, bool b ) : Operand
label string
line int
ptr bool
b bool
리턴 Operand

FromNumber() 공개 정적인 메소드

public static FromNumber ( short number, bool ptr, bool b ) : Operand
number short
ptr bool
b bool
리턴 Operand

FromRegister() 공개 정적인 메소드

public static FromRegister ( Registers register, bool ptr, bool b ) : Operand
register Registers
ptr bool
b bool
리턴 Operand

프로퍼티 상세

Byte 공개적으로 프로퍼티

public bool Byte
리턴 bool

Label 공개적으로 프로퍼티

public string Label
리턴 string

Line 공개적으로 프로퍼티

public int Line
리턴 int

OperandType 공개적으로 프로퍼티

public OperandType OperandType
리턴 OperandType

Payload 공개적으로 프로퍼티

public short? Payload
리턴 short?

Pointer 공개적으로 프로퍼티

public bool Pointer
리턴 bool