Search found 6 matches

by Savapo
Fri Feb 27, 2015 4:09 am
Forum: Coding Questions
Topic: [Solved No bug] Relative jump out of range with 'loop' asm
Replies: 3
Views: 2168

Re: [PB 5.24 LTS] Relative jump out of range with 'loop' in

Thank you very much for your help and for your explanations.

I did not know that the debugger added more additional lines.
by Savapo
Thu Feb 26, 2015 5:00 am
Forum: Coding Questions
Topic: [Solved No bug] Relative jump out of range with 'loop' asm
Replies: 3
Views: 2168

[Solved No bug] Relative jump out of range with 'loop' asm

Hello,

Could you check distance of 127 bytes for 'loop' in asm, please ?

Thank you.

ProcedureDLL.L ASM_TEST_LOOP()

EnableASM

MOV ECX,100

label:

NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP

NOP ; <- WITHOUT WORK FINE FOR 10 BYTES

LOOP l_asm_test_loop_label

MOV EAX,ECX ...
by Savapo
Mon Jun 10, 2013 1:59 am
Forum: Feature Requests and Wishlists
Topic: ForEachReverse <-> ForEach with operating in reverse
Replies: 13
Views: 1916

ForEachReverse <-> ForEach with operating in reverse

Hello,

Please, could you add this functionality to simplify writing programs ?

Thank you.

NewList List()

AddElement(List())
List()=1

AddElement(List())
List()=2

AddElement(List())
List()=3

; ------

ForEachReverse List() ; <- *** Here, new instruction ***

Debug List() ; -> 3
; -> 2 ...
by Savapo
Mon Jun 03, 2013 12:10 am
Forum: Feature Requests and Wishlists
Topic: GetDrawingMode() + GetFrontColor() + GetBackColor() ?
Replies: 4
Views: 1251

GetDrawingMode() + GetFrontColor() + GetBackColor() ?

Hello,

Please, would it be possible to add the function 'memo=GetDrawingMode()' or 'memo=DrawingMode()', to be able to store and restore the state of DrawingMode() ?

same for 'memo=GetFrontColor()' or 'memo=FrontColor()'
same for 'memo=GetBackColor()' or 'memo=BackColor()'

To simplify writing ...
by Savapo
Mon Jun 03, 2013 12:03 am
Forum: Coding Questions
Topic: Solved [PB 5.11 x86] Doesn't want compile labels in asm
Replies: 3
Views: 967

Re: [PB 5.11 x86] Doesn't want compile labels in asm

Thank you Josh.

I would not have found it without your help.
by Savapo
Sun Jun 02, 2013 10:51 pm
Forum: Coding Questions
Topic: Solved [PB 5.11 x86] Doesn't want compile labels in asm
Replies: 3
Views: 967

Solved [PB 5.11 x86] Doesn't want compile labels in asm

Hello,

Work fine in PB 5.00, but not in PB 5.11.

Procedure.L TEST()

MOV EAX,1

JMP l_label ; <- error: undefined symbol 'l_label'

MOV EAX,2

label:

PROCEDURERETURN

EndProcedure

DEBUG TEST()

Procedure.L TEST2()

!MOV EAX,1

!JMP l_label_2 ; <- error: undefined symbol 'l ...