LEGv8 Visual Simulator

Frame

PC 0xF000 Instruction memory Read address Instruction [31-0] Instruction [31-21] Instruction [9-5] Instruction [20-16] Instruction [4-0] Instruction [31-0] Instruction [31-21] Registers Read register 1 Read register 2 Write register Write data Read data 1 Read data 2 Data memory Address Write data Read data Add 4 Add ALU Flags Control Reg2Loc Uncondbranch Branch MemRead MemtoReg ALUOp MemWrite ALUSrc RegWrite Shift left 2 Sign- extend 32 64 ALU Control 0 M u x 1 0 M u x 1 0 M u x 1 1 M u x 0 Instruction memory Read address Instruction [31-0] Registers Read register 1 Read register 2 Write register Write data Read data 1 Read data 2 Data memory Address Write data Read data ALU N 0 Z 0 C 0 V 0

Assembly Instruction

Machine Language Instruction

Code

1

Log

Nhấn vào nút [?] góc phải dưới để xem hướng dẫn về các nút chức năng.

Flags

N
0
Z
0
C
0
V
0

Registers

X00 X01 X02 X03 X04 X05 X06 X07
0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
X08 X09 X10 X11 X12 X13 X14 X15
0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
X16 X17 X18 X19 X20 X21 X22 X23
0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
X24 X25 X26 X27 X28 X29 X30 XZR
0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

Data memory

Address Value
0x00000x0000
0x00080x0000
0x00100x0000
0x00180x0000
0x00200x0000
0x00280x0000
0x00300x0000
0x00380x0000
0x00400x0000
0x00480x0000
0x00500x0000
0x00580x0000
0x00600x0000
0x00680x0000
0x00700x0000
0x00780x0000
0x00800x0000
0x00880x0000
0x00900x0000
0x00980x0000
0x00A00x0000
0x00A80x0000
0x00B00x0000
0x00B80x0000
0x00C00x0000
0x00C80x0000
0x00D00x0000
0x00D80x0000
0x00E00x0000
0x00E80x0000
0x00F00x0000
0x00F80x0000
0x01000x0000
0x01080x0000
0x01100x0000
0x01180x0000
0x01200x0000
0x01280x0000
0x01300x0000
0x01380x0000
0x01400x0000
0x01480x0000
0x01500x0000
0x01580x0000
0x01600x0000
0x01680x0000
0x01700x0000
0x01780x0000
0x01800x0000
0x01880x0000
0x01900x0000
0x01980x0000
0x01A00x0000
0x01A80x0000
0x01B00x0000
0x01B80x0000
0x01C00x0000
0x01C80x0000
0x01D00x0000
0x01D80x0000
0x01E00x0000
0x01F80x0000
0x01F00x0000
0x01E80x0000