-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of leading +s in assembler (#107)
- Loading branch information
1 parent
2793645
commit e0999e0
Showing
2 changed files
with
42 additions
and
3 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
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.version +50 0x0 | ||
.class public LdcTest | ||
.super java/lang/Object | ||
|
||
.method public static print : (F)V | ||
.code stack 910 locals 10 | ||
ldc 0 | ||
ldc -0 | ||
ldc +0 | ||
ldc +1 | ||
ldc +0x1 | ||
ldc -0x1 | ||
ldc -10e1f | ||
ldc +10e1f | ||
ldc +0.0f | ||
ldc -0.0f | ||
ldc -0x80000000 | ||
ldc -0x7FFFFFFF | ||
ldc +0x7FFFFFFF | ||
|
||
ldc2_w 0L | ||
ldc2_w -0L | ||
ldc2_w +0L | ||
ldc2_w +1L | ||
ldc2_w +0x1L | ||
ldc2_w -0x1L | ||
ldc2_w -10e1 | ||
ldc2_w +10e1 | ||
ldc2_w +0.0 | ||
ldc2_w -0.0 | ||
ldc2_w -0x8000000000000000L | ||
ldc2_w -0x7FFFFFFFffffffffL | ||
ldc2_w +0x7FFFFFFFffffffffL | ||
|
||
|
||
return | ||
.end code | ||
.end method | ||
.end class |