Announcement

Collapse
No announcement yet.

ASM in PBDLL 6

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ASM in PBDLL 6

    I am working on a small function which uses some
    asm statements. However, 2 of the instructions that I
    need to use appearently are not supported by the built
    assembler in PBDLL 6.
    In Visual C, I could use something like this:
    _emit nnn <<< This would inject the numbers directly
    into my program. This allows VC to use
    optcodes which are not supported in its assembler.

    Does PBDLL 6 have something similar that I can use?

    Thanks


    ------------------
    Ben Clark
    [email protected]
    If at first you don't succeed, destroy all evidence that you tried.

  • #2
    ! db &H90 ; hard-coded NOP


    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment


    • #3
      Thanks for the quick response.


      ------------------
      Ben Clark
      [email protected]
      If at first you don't succeed, destroy all evidence that you tried.

      Comment

      Working...
      X