hi all , i intended purchase powerbasic, but i need a very great information first.
With powerbasic is possible to pass in ASM code this instruction:
Example in C++ ASM
----------------------------------------------------
_asm
{
lea eax, NewFunPoint
mov ebx, FunEntry
sub eax, ebx
sub eax, 5
move dword ptr [NewFunCode+1],eax
}
NewFunPoint:
-------------------------------------------------------
NewFunCode as an array of byte (0 to 5)
the asm instruction for point direct to array of byte for fill
in powerbasic this work? are equal ? or not
i have try with registered powerbasic of a my friend and retrieve an error:
"Asm Sintax Error" with powerbasic
i have write this code with powerbasic for test:
------------------------------------------------------
LOCAL NewFunCode(0 TO 5) AS BYTE
!lea eax, NewFunPoint
!mov ebx, FunEntry
!sub eax, ebx
!sub eax, 5
!mov dword ptr [NewFunCode+1], eax <-- these instruction error "Asm sintax error"
NewFunPoint:
-----------------------------------------------------------------
there are a method for equivalent solution in asm for powerbasic for manipulate array pointer?
please help i need to purchase powerbasic.
With powerbasic is possible to pass in ASM code this instruction:
Example in C++ ASM
----------------------------------------------------
_asm
{
lea eax, NewFunPoint
mov ebx, FunEntry
sub eax, ebx
sub eax, 5
move dword ptr [NewFunCode+1],eax
}
NewFunPoint:
-------------------------------------------------------
NewFunCode as an array of byte (0 to 5)
the asm instruction for point direct to array of byte for fill
in powerbasic this work? are equal ? or not
i have try with registered powerbasic of a my friend and retrieve an error:
"Asm Sintax Error" with powerbasic
i have write this code with powerbasic for test:
------------------------------------------------------
LOCAL NewFunCode(0 TO 5) AS BYTE
!lea eax, NewFunPoint
!mov ebx, FunEntry
!sub eax, ebx
!sub eax, 5
!mov dword ptr [NewFunCode+1], eax <-- these instruction error "Asm sintax error"
NewFunPoint:
-----------------------------------------------------------------
there are a method for equivalent solution in asm for powerbasic for manipulate array pointer?
please help i need to purchase powerbasic.
Comment