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,128
    Rep Power
    732

    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,128
    Rep Power
    732

    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
    57
    Posts
    8,777
    Rep Power
    10

    Re: The Asmosphere Assembler

    Thanks Charles.
    Will be present in next thinBasic release.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

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

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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