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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ASM features EQU and DEFM
#2
LCD Wrote:Hi Boriel. I just adapted a ASM routine for key-redefining from WOS Forum to ZXBC for my next game, and noticed following:
EQU is not supported?

EQU is supported. It should be used this way (if I recall correctly).

Code:
Asm Label EQU 5 * OtherLabel + 3 ; Complex expressions allowed End Asm
LCD Wrote:DEFM supports only Strings, but not mixed bytes+strings in one line like: DEFM 14,10,5,"Down",255
I adapted the lines by lacerating them to DEFB,DEFM and DEFB again, but maybe it would be a good idea to support bytes and Strings with DEFM, like other assemblers do.
Ok, I will try to add that in 1.2.9
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)