Forked from: eller86's JVM simulator View Diff (302)

JVM simulator V2

eller86

License: MIT License

Fork
1
Fav
1
View
4664
  • Play

Fullscreen

Smart Phone

Fork tree

  • Readme
  • JavaScript 529 lines
  • HTML 71 lines
  • CSS 106 lines
35種のニーモニックになんとなく対応。Chromeで動作確認。

実装済みニーモニック:
astore,istore,lstore,fstore,dstore,aload,iload,lload,fload,dload,iinc,pop,pop2,dup,dup2,dup_x1,dup_x2,dup2_x1,dup2_x2,swap,nop,iconst_0,iconst_1,iconst_2,iconst_3,iconst_4,iconst_5,ldc,iadd,ladd,getstatic,invokevirtual,invokestatic,return,areturn


テスト用命令セット:
invokestatic java/lang/System/currentTimeMillis()J
lstore 0
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc "Hello, world!"
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
getstatic java/lang/System/out Ljava/io/PrintStream;
invokestatic java/lang/System/currentTimeMillis()J
lload 0
lsub
invokestatic java/lang/Long/toString(J)Ljava/lang/String;
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
return
  • JVM simulator V2
  • jQuery UI v1.8.1
  • jQuery v1.6.1
  • JVM simulator V2

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by

Forked

sort by