?login_element?

Subversion Repositories NedoOS

Rev

Rev 126 | Blame | Compare with Previous | Last modification | View Log | Download

  1.     DEVICE ZXSPECTRUM48 : ORG 0x8000 : DB "0123456789ABCDEF"
  2.     ASSERT '10' = {0x8000} : ASSERT '2' = {b 0x8002} : ASSERT '3' = {b 0x8003}
  3.     DB  {B 0x800F}          ; test big case "{B" (should work)
  4.     ORG 0xFFFE : DB 254, 255
  5.     ASSERT 254 = {b 0xFFFE} : ASSERT 255 = {b 0xFFFF} : ASSERT 0xFF'FE = { 0xFF'FE }
  6.     ; address checking errors
  7.     ORG 0 : DB "01"
  8.     DW  {0}, {-1}
  9.     DW  {-1}, {0}
  10.     DB  {b 0}, {b -1}
  11.     DB  {b -1}, {b 0}
  12.     DW  {0xFFFF}            ; FFFF is already too far for WORD fetch
  13.     DB  {b 0x10000}
  14.     ; test other syntax errors
  15.     DW  {}
  16.     DW  {  }
  17.     DW  {0x1234
  18.     DW  {b}
  19.     DW  {b }
  20.     DW  {b 0x1234
  21.     DW  {b+0x1234}          ; needs whitespace after "{b" to be recognized as BYTE query
  22.