-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1 @@ | ||
$ class_name 'HelloWorld' | ||
$ object_superclass_name 'java/lang/Object' | ||
|
||
# class_declaration { | ||
> 0100 | ||
> #len($0) | ||
> $0 | ||
} | ||
|
||
> cafe babe // Magic number | ||
|
||
> 0000 0034 // Java Bytecode version | ||
> 0005 // Constant pool size | ||
> 0700 02 // Class at index 2 | ||
|
||
> #class_declaration($class_name) | ||
> 0700 04 // Class at index 4 | ||
> #class_declaration($object_superclass_name) | ||
|
||
> 0021 // Supper public | ||
> 0001 0003 // Class pointers | ||
> 0000 0000 0000 0000 // No interfaces, fields, methods, attributes | ||
$ hello_world 'hello world' 01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters