Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointer+MOV and Pointer+Compress do not generate correctly #9

Closed
Yohoki opened this issue Nov 17, 2019 · 1 comment
Closed

Pointer+MOV and Pointer+Compress do not generate correctly #9

Yohoki opened this issue Nov 17, 2019 · 1 comment

Comments

@Yohoki
Copy link
Owner

Yohoki commented Nov 17, 2019

Pointer+Mov generates Bit-Type incorrectly for address 2 when using pointer level of 2 or higher.

$8202 88A03E12 0000001C
$8200 00000000 00000028
$8800 00000000 00000000
$8602 8160081C 0000001C
$3600 00000000 00000028 # Should be $8600
$8900 00000000 00000000

Pointer+Compress defaults to using last level of pointer tree to add compression. There is no way in app to change which level is compressed. Example:

$7203 81000000 00000010
$7200 00000000 00000200
$7200 00000000 00003000
$7703 00000000 00000063 # $7703 applies compression to 3rd offset
$0003 00000100 00000000

This code makes the following codes:

$3203 81000000 00000010
$3200 00000000 00000200
$3200 00000000 00003000 #Compression Applied Here
$3303 00000000 00000063

$3203 81000000 00000010
$3200 00000000 00000200
$3200 00000000 00003100 #Compression Applied Here
$3303 00000000 00000063

$3203 81000000 00000010
$3200 00000000 00000200
$3200 00000000 00003200 #Compression Applied Here
$3303 00000000 00000063

It's possible to compress OTHER levels of the pointer, but the TempAR UI does not allow it. Example:

$7203 81000000 00000010
$7200 00000000 00000200
$7200 00000000 00003000
$7702 00000000 00000063 # $7702 - Compression level Changed to 2
$0003 00000100 00000000
$3203 81000000 00000010
$3200 00000000 00000200 #Compression Applied Here
$3200 00000000 00003000
$3303 00000000 00000063

$3203 81000000 00000010
$3200 00000000 00000300 #Compression Applied Here
$3200 00000000 00003000
$3303 00000000 00000063

$3203 81000000 00000010
$3200 00000000 00000400 #Compression Applied Here
$3200 00000000 00003000
$3303 00000000 00000063
@Yohoki
Copy link
Owner Author

Yohoki commented Nov 17, 2019

Both issues fixed in 3.1

@Yohoki Yohoki closed this as completed Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant