C# 클래스 x86CS.CPU.CPU

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

공개 프로퍼티들

프로퍼티 타입 설명
InterruptLevel int
Logging bool

공개 메소드들

메소드 설명
CPU ( ) : System
Cycle ( ) : void
Cycle ( bool logging ) : void
ExecuteInterrupt ( byte vector ) : void
Fetch ( ) : void
Fetch ( bool doStrings ) : void
GetSelectorBase ( SegmentRegister segment ) : uint
ReFetch ( ) : void
Reset ( ) : void
StackPop ( ) : uint
StackPush ( uint value ) : void

비공개 메소드들

메소드 설명
ASCIIAdjustAfterAdd ( ) : void
ASCIIAdjustAfterMultiply ( Operand source ) : void
ASCIIAdjustAfterSubtract ( ) : void
ASCIIAdjustBeforeDivide ( Operand source ) : void
Add ( Operand dest, Operand source ) : void
AddWithCarry ( Operand dest, Operand source ) : void
And ( Operand dest, Operand source ) : void
BitScanForward ( Operand dest, Operand source ) : void
BitScanReverse ( Operand dest, Operand source ) : void
Call ( Operand dest ) : void
CallAbsolute ( Operand dest ) : void
CallFar ( Operand dest ) : void
CallFarMemory ( Operand dest ) : void
ClearCarryFlag ( ) : void
ClearDirectionFlag ( ) : void
ClearInterruptFlag ( ) : void
Compare ( Operand dest, Operand source ) : void
ComplementCarryFlag ( ) : void
ConvertByteToWord ( ) : void
ConvertWordToDWord ( ) : void
CpuID ( Operand source ) : void
DecAdjustAfterSubtract ( ) : void
DecimalAdjustAfterAddition ( ) : void
Decrement ( Operand dest ) : void
DisassemblerRead ( uint offset, int size ) : uint
DoIORead ( Operand dest, Operand source ) : void
DoIOWrite ( Operand dest, Operand source ) : void
DoStringCompare ( Operand dest, Operand source, int size ) : void
DoStringMove ( Operand dest, Operand source, int size ) : void
DumpRegisters ( ) : void
Enter ( Operand size, Operand nesting ) : void
Exchange ( Operand dest, Operand source ) : void
FarJump ( Operand dest ) : void
FarJumpMemory ( Operand dest ) : void
FarReturn ( ) : void
FarReturn ( Operand dest ) : void
GetCount ( ) : uint
GetFlag ( CPUFlags flag ) : bool
GetIDTEntry ( uint selector ) : IDTEntry
GetSegmentAndOffset ( Operand address, ushort &segment, uint &offset ) : void
GetSelectorEntry ( uint selector ) : GDTEntry
GetVirtualAddress ( SegmentRegister segment, uint offset ) : uint
Halt ( ) : void
Increment ( Operand dest ) : void
Interrupt ( Operand dest ) : void
InterruptReturn ( ) : void
Jump ( Operand dest ) : void
JumpAbsolute ( Operand dest ) : void
JumpIfBelow ( Operand dest ) : void
JumpIfBelowOrEqual ( Operand dest ) : void
JumpIfCXIsZero ( Operand dest ) : void
JumpIfEvenParity ( Operand dest ) : void
JumpIfLess ( Operand dest ) : void
JumpIfLessOrEqual ( Operand dest ) : void
JumpIfNotBelow ( Operand dest ) : void
JumpIfNotBelowOrEqual ( Operand dest ) : void
JumpIfNotLess ( Operand dest ) : void
JumpIfNotLessOrEqual ( Operand dest ) : void
JumpIfNotOverflow ( Operand dest ) : void
JumpIfNotSigned ( Operand dest ) : void
JumpIfNotZero ( Operand dest ) : void
JumpIfOddParity ( Operand dest ) : void
JumpIfOverflow ( Operand dest ) : void
JumpIfSigned ( Operand dest ) : void
JumpIfZero ( Operand dest ) : void
Leave ( ) : void
LoadEffectiveAddress ( Operand dest, Operand source ) : void
LoadFlags ( ) : void
LoadGDT ( Operand dest ) : void
LoadIDT ( Operand dest ) : void
LoadLDT ( Operand dest ) : void
LoadMachineStatusWord ( Operand dest ) : void
LoadTaskRegister ( Operand dest ) : void
Loop ( Operand dest ) : void
LoopNotZero ( Operand dest ) : void
LoopZero ( Operand dest ) : void
MovSignExtend ( Operand dest, Operand source ) : void
Move ( Operand dest, Operand source ) : void
MoveZeroExtend ( Operand dest, Operand source ) : void
Neg ( Operand dest ) : void
Nop ( ) : void
Not ( Operand dest ) : void
Or ( Operand dest, Operand source ) : void
Pop ( Operand dest ) : void
PopAll ( ) : void
PopFlags ( ) : void
ProcedureEnter ( ushort size, byte level ) : void
ProcedureLeave ( ) : void
ProcessOperand ( Operand operand ) : Operand
ProcessOperands ( ) : Operand[]
ProcessOperations ( ) : void
Push ( Operand dest ) : void
PushAll ( ) : void
PushFlags ( ) : void
Return ( ) : void
Return ( Operand dest ) : void
RotateCarryLeft ( Operand dest, Operand source ) : void
RotateCarryRight ( Operand dest, Operand source ) : void
RotateLeft ( Operand dest, Operand source ) : void
RotateRight ( Operand dest, Operand source ) : void
SegRead ( SegmentRegister segment, uint offset, int size ) : uint
SegReadByte ( SegmentRegister segment, uint offset ) : byte
SegReadDWord ( SegmentRegister segment, uint offset ) : uint
SegReadWord ( SegmentRegister segment, uint offset ) : ushort
SegWrite ( SegmentRegister segment, uint offset, uint value, int size ) : void
SegWriteByte ( SegmentRegister segment, uint offset, byte value ) : void
SegWriteDWord ( SegmentRegister segment, uint offset, uint value ) : void
SegWriteWord ( SegmentRegister segment, uint offset, ushort value ) : void
SegmentLoadDS ( Operand dest, Operand source ) : void
SegmentLoadES ( Operand dest, Operand source ) : void
SegmentLoadFS ( Operand dest, Operand source ) : void
SegmentLoadGS ( Operand dest, Operand source ) : void
SegmentLoadSS ( Operand dest, Operand source ) : void
SetCPUFlags ( Operand operand ) : void
SetCarryFlag ( ) : void
SetCount ( uint value ) : void
SetDirectionFlag ( ) : void
SetFlag ( CPUFlags flag, bool value ) : void
SetIfBelow ( Operand dest ) : void
SetIfNotBelow ( Operand dest ) : void
SetIfNotBelowOrEqual ( Operand dest ) : void
SetInterruptFlag ( ) : void
SetNotZero ( Operand dest ) : void
SetSelector ( SegmentRegister segment, uint selector ) : void
SetZero ( Operand dest ) : void
ShiftArithRight ( Operand dest, Operand source ) : void
ShiftLeft ( Operand dest, Operand source ) : void
ShiftRight ( Operand dest, Operand source ) : void
ShiftRightDP ( Operand dest, Operand source, Operand count ) : void
SignedDivide ( Operand dest, Operand source ) : void
SignedMultiply ( Operand dest, Operand source ) : void
SignedMultiply ( Operand dest, Operand source, Operand source2 ) : void
SignedMultiply2 ( Operand dest, Operand source ) : void
StoreFlags ( ) : void
StoreGDT ( Operand dest ) : void
StoreIDT ( Operand dest ) : void
StoreMachineStatusWord ( Operand dest ) : void
StringCompareByte ( Operand dest, Operand source ) : void
StringCompareWord ( Operand dest, Operand source ) : void
StringIORead ( Operand dest, Operand source ) : void
StringIOWrite ( Operand dest, Operand source ) : void
StringLoad ( Operand dest, Operand source ) : void
StringMoveByte ( Operand dest, Operand source ) : void
StringMoveWord ( Operand dest, Operand source ) : void
StringScan ( Operand dest, Operand source ) : void
StringStore ( Operand dest, Operand source ) : void
Subtract ( Operand dest, Operand source ) : void
SubtractWithBorrow ( Operand dest, Operand source ) : void
Test ( Operand dest, Operand source ) : void
UnSignedDivide ( Operand dest, Operand source ) : void
UnsignedMultiply ( Operand dest, Operand source ) : void
WriteBackInvalidate ( ) : void
WriteOperand ( Operand operand ) : void
XLate ( ) : void
Xor ( Operand dest, Operand source ) : void

메소드 상세

CPU() 공개 메소드

public CPU ( ) : System
리턴 System

Cycle() 공개 메소드

public Cycle ( ) : void
리턴 void

Cycle() 공개 메소드

public Cycle ( bool logging ) : void
logging bool
리턴 void

ExecuteInterrupt() 공개 메소드

public ExecuteInterrupt ( byte vector ) : void
vector byte
리턴 void

Fetch() 공개 메소드

public Fetch ( ) : void
리턴 void

Fetch() 공개 메소드

public Fetch ( bool doStrings ) : void
doStrings bool
리턴 void

GetSelectorBase() 공개 메소드

public GetSelectorBase ( SegmentRegister segment ) : uint
segment SegmentRegister
리턴 uint

ReFetch() 공개 메소드

public ReFetch ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

StackPop() 공개 메소드

public StackPop ( ) : uint
리턴 uint

StackPush() 공개 메소드

public StackPush ( uint value ) : void
value uint
리턴 void

프로퍼티 상세

InterruptLevel 공개적으로 프로퍼티

public int InterruptLevel
리턴 int

Logging 공개적으로 프로퍼티

public bool Logging
리턴 bool