opbasm icon indicating copy to clipboard operation
opbasm copied to clipboard

Writing "label :" will cause opbasm to not define the label as expected

Open lf- opened this issue 4 years ago • 0 comments

Example broken code:

label : or s0, s0
call label

Output from latest master:

» opbasm -m 1024 -3 --verbose wat.psm
OPBASM - Open PicoBlaze Assembler 1.3.9
Target architecture: PicoBlaze-3
  Device configuration:
    Memory size: 1024, Scratchpad size: 64

  Reading source: wat.psm

  Assembling code...

ERROR: Invalid address: label
  wat.psm line 2:  call label

lf- avatar Oct 24 '21 19:10 lf-