Page 5 of 5 FirstFirst ... 345
Results 41 to 46 of 46

Thread: The Asmosphere Assembler

  1. #41
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,083
    Blog Entries
    5
    Rep Power
    725

    Re: The Asmosphere Assembler

    Thanks Charles,

    sounds good!


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #42

    Re: The Asmosphere Assembler

    Hi Petr,

    I have just posted a low level counterpert of thinBsic_Oxygen, and a compiled demo of Plasma

    http://www.jose.it-berater.org/smffo...php?topic=1649

  3. #43

    Re: The Asmosphere Assembler

    I've implemented soft coding in a new release. It's the first time I have used a hash algorithm to eliminate scanning for instruction names. In most cases, the instruction is located in a single step and all are resolved within three steps in a linked list.

    The instruction names are hashed into a 32 bit code. The lower 9 bits of which are used to address a data array of 512 cells, which can be chained to others. There is a one in 4 million chance that the instruction set will contain 2 instructions with the same hash code so this has to be checked when the instruction set is loaded.

    Anyway, apart from adding instructions being developed for new processors, it will support those instructions which have alternative names. A kernel of instructions remain hard-coded because their operand types are quite complex to resolve, but I will probably be able to move a few more of them out to the o2asm.data file.

    zip file at beginning of this topic

  4. #44
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,083
    Blog Entries
    5
    Rep Power
    725

    Re: The Asmosphere Assembler

    Hi Charles,

    as usually, great job!
    The data file should be placed in same directory as script or DLL?


    Thanks,
    Petr


    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  5. #45

    Re: The Asmosphere Assembler

    Thanks Petr,

    I have not specified a path for o2asm.data so it goes in the current working directory, when the o2_asm() or o2_asm_file() is invoked for the first time.
    After this, the module is self-sufficient and o2asm.data is not used again until the module is reloaded.

  6. #46
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10

    Re: The Asmosphere Assembler

    Thanks Charles.
    Will be present in next thinBasic release.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. x86 assembler...
    By Johannes in forum BigInt module. Big Integer handling by Johannes
    Replies: 6
    Last Post: 06-03-2011, 23:53
  2. Assembler on GPU, from ATi resources
    By Petr Schreiber in forum TBGL General
    Replies: 1
    Last Post: 16-07-2008, 00:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •