-
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
1 parent
d32e686
commit 7d1a8bc
Showing
11 changed files
with
130 additions
and
35 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
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
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
Binary file not shown.
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,19 +1,24 @@ | ||
loc MAIN: | ||
char* str = "This is a test!"; | ||
|
||
int x = 5; | ||
print "\nX: "; | ||
print x; | ||
ulong strAddr = (ulong)str; | ||
print "\nADDR1: "; | ||
print strAddr; | ||
|
||
strAddr++; | ||
print "\nADDR2: "; | ||
print strAddr; | ||
|
||
sub TEST; | ||
char* str2 = (char*)strAddr; | ||
print "\nADDR3: "; | ||
print (ulong)str2; | ||
|
||
print "\nX: "; | ||
print x; | ||
|
||
exit; | ||
char chr = *str2; | ||
print "\nCHR: "; | ||
print chr; | ||
|
||
|
||
sub TEST: | ||
x = 10; | ||
|
||
ret; | ||
print "\nCHR: "; | ||
print *((char*)((ulong)strAddr - 1)); | ||
|
||
exit; |
Binary file not shown.
Binary file not shown.
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,8 @@ | ||
E:\C SHARP\MAAL\MAAL\bin\asdfasdfasdfsdafsd\MAAL.exe.config | ||
E:\C SHARP\MAAL\MAAL\bin\asdfasdfasdfsdafsd\MAAL.exe | ||
E:\C SHARP\MAAL\MAAL\bin\asdfasdfasdfsdafsd\MAAL.pdb | ||
E:\C SHARP\MAAL\MAAL\obj\asdfasdfasdfsdafsd\MAAL.csproj.AssemblyReference.cache | ||
E:\C SHARP\MAAL\MAAL\obj\asdfasdfasdfsdafsd\MAAL.csproj.SuggestedBindingRedirects.cache | ||
E:\C SHARP\MAAL\MAAL\obj\asdfasdfasdfsdafsd\MAAL.csproj.CoreCompileInputs.cache | ||
E:\C SHARP\MAAL\MAAL\obj\asdfasdfasdfsdafsd\MAAL.exe | ||
E:\C SHARP\MAAL\MAAL\obj\asdfasdfasdfsdafsd\MAAL.pdb |
Binary file not shown.