The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial: How to put inline assembly functions into ZX Basic
#16
britlion Wrote:Ah - then you'd need one that just looks like this, I think:


Code:
function fastcall mirror (number as uByte) as uByte asm ld b,8 ld c,a XOR A mirrorLoop: RR C RLA DJNZ mirrorLoop end asm END FUNCTION

I haven't tested it, mind. Just typed it here. Feels right, though Smile
Works and is very very fast!!!
Simple but great!
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)