• skip to content

BBC BASIC Programmers' Reference

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
Trace: • saturation_arithmetic • fast_variables • structured_20exception_20handling • modulo_20integer_20arithmetic • re-dimensioning_20arrays • passing_20array_20and_20structure_20parameters • rounding_20functions • sub-structure_arrays • deconstructing_20arrays • assembler

Sidebar

Navigation
Assembler
BBC BASIC Language
Communication and I/O
Database and Files
Graphics and Games
Libraries
Manual
Operating System
Program Editor and IDE
Sound, Music and Video
Tools and Utilities
Tutorials
User Interface

assembler

Table of Contents

  • Assembler
    • Data conversion
    • Miscellaneous
    • New instructions
    • User interface

Assembler

Data conversion

  • Converting binary to BCD
  • Converting 40-bit floats to 64-bit floats
  • Converting a number to a string

Miscellaneous

  • Calling BASIC from assembler code
  • Calling internal routines from assembler code
  • Generating pseudo-random numbers (compatible with BASIC's RND function)
  • Alternative pseudo-random numbers (increased sequence length of 2^64-1)
  • Optimising integer division
  • SOUND and ENVELOPE in assembler
  • Passing data to assembler code
  • Printing strings
  • Quad-precision multiplication
  • SIMD signum function
  • Three (or more) pass assembly
  • Using the lea instruction
  • Using the fscale instruction

New instructions

  • Coding the PAUSE instruction
  • Simulating assembler macros
  • Using SSE2 instructions

User interface

  • Colour text in a List View
  • Replacing the message pump
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
assembler.txt · Last modified: 2024/01/05 00:22 by 127.0.0.1

Page Tools

  • Show pagesource
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki