
Search found 6 matches
- Sat May 07, 2016 7:02 pm
- Forum: Assembly and C Programming in PureBasic
- Topic: diStorm 3.3 - Powerful Disassembler Library For Intel/AMD64
- Replies: 3
- Views: 5883
Re: diStorm 3.3 - Powerful Disassembler Library For Intel/AM
thx for ur pm much appreciated 

- Mon May 02, 2016 11:03 pm
- Forum: Assembly and C Programming in PureBasic
- Topic: diStorm 3.3 - Powerful Disassembler Library For Intel/AMD64
- Replies: 3
- Views: 5883
Re: diStorm 3.3 - Powerful Disassembler Library For Intel/AM
Will definetely check it out 

- Fri Apr 29, 2016 9:26 pm
- Forum: Coding Questions
- Topic: Global Labes?
- Replies: 8
- Views: 3263
Re: Global Labes?
Thank you for your explanation
Now i understand why it wasnt working before

Now i understand why it wasnt working before

- Fri Apr 29, 2016 8:20 pm
- Forum: Coding Questions
- Topic: Global Labes?
- Replies: 8
- Views: 3263
Re: Global Labes?
Your problem is just you are trying to access PB labels (local to procedures) through PB commands, and obviously you can't do it since they are local.
I actually like the solution above more than the one using the two global vars also because you don't need to execute the procedure...
thank you ...
- Fri Apr 29, 2016 4:56 pm
- Forum: Coding Questions
- Topic: Global Labes?
- Replies: 8
- Views: 3263
Re: Global Labes?
...
Global *T1, *T2
Procedure toki()
Code_Start:
!mov rax,98764
!mov ecx,eax
Code_End:
!testl:
*T1 = ?Code_Start
*T2 = ?Code_End
Debug *T1
Debug *T2
EndProcedure
...[/quote]
Thanks for the help :)
ill probably end up using something like this or signatures.
Unless there are ...
Global *T1, *T2
Procedure toki()
Code_Start:
!mov rax,98764
!mov ecx,eax
Code_End:
!testl:
*T1 = ?Code_Start
*T2 = ?Code_End
Debug *T1
Debug *T2
EndProcedure
...[/quote]
Thanks for the help :)
ill probably end up using something like this or signatures.
Unless there are ...
- Thu Apr 28, 2016 6:21 pm
- Forum: Coding Questions
- Topic: Global Labes?
- Replies: 8
- Views: 3263
Global Labes?
This is really great: (PB 4.51)
Procedure toki()
Code_Start:
!mov rax,98764
!mov ecx,eax
Code_End:
!testl:
EndProcedure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EXAMPLE 1
try.i
!mov rcx,testl;<-------WORKS
!mov [v_try],rcx
Debug try
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EXAMPLE 2
Text ...
Procedure toki()
Code_Start:
!mov rax,98764
!mov ecx,eax
Code_End:
!testl:
EndProcedure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EXAMPLE 1
try.i
!mov rcx,testl;<-------WORKS
!mov [v_try],rcx
Debug try
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EXAMPLE 2
Text ...