Stephane,
I'm currently working on a basic preprocessor, i'll include
a #asm/#endasm just for you. --Dave
------------------
Announcement
Collapse
No announcement yet.
Inline Assembly & Dynamic Memory Allocate
Collapse
X
-
Guest replied
-
For # 2, use Help, Internal Functions, GetStrAlloc and RlsStrAlloc.
Under DOS, there is no such thing as "free" there is only "allocate" and "deallocate"
For #1, typing if typing "!" on each line isn't too hard, there's always
Code:REM BEGIN ASM !xor ax,ax ... REM END ASM
Leave a comment:
-
Inline Assembly & Dynamic Memory Allocate
Hi Tom & Bob,
1. Can you build-in blocks for the inline assembler:
First way: ! or asm
New way like this
BEGIN ASM
mov ax, bx
mov ax, 5
END ASM
2. Function for dynamic memory allocating:
PBMemAlloc()
PBMemFree()
PBMemRelease()
3. Build-in 80x87 machine instructions in the build-in assembly
Greetings
Greetings
------------------
Tags: None
Leave a comment: