Problem with sjASM 0.40b3 (Development Foros MSX)MSX Resource Center MSX Info Update - Finnish MSX madness at its best           
                       
English Nederlands Español Português Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 178 invitados y 0 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - Problem with sjASM 0.40b3

Autor

Problem with sjASM 0.40b3

jltursan
msx professional
Mensajes: 777
Publicado: Abril 25 2008, 18:08   
I'm not sure if it's me doing something wrong or it's a bug/intentional feature of the new sjASM...

After setting the ouput file size with the pseudo-op OUTPUT, no matters what happened with compilation, success or failure, the specified file is generated. I haven't checked what's in the file; but I guess that it'll be mostly garbage...


sjoerd
msx addict
Mensajes: 436
Publicado: Abril 25 2008, 21:06   
Sjasm always writes an output file. It'll contain mostly what you'd expect, except the errors, and address offsets may be wrong.
dvik
msx master
Mensajes: 1299
Publicado: Abril 25 2008, 21:26   
I also have one problem with sjasm. When generating a symbol file, local labels (with the '_' prefix) aren't part of the symbol file. This pretty much makes the local labels useless when debugging the code using emus that support symbol files.

Me and Vincent have a workaround, a script that pre-processes the assembly files and changes the local labels but thats a quite bad workaround.

(If you changed the behavior in later versions I apologize for the comment, not sure what version we're using)
sjoerd
msx addict
Mensajes: 436
Publicado: Abril 28 2008, 13:23   
Labels starting with '_' are not local labels in sjasm0.3 and newer. They should be listed in the symbol file, so I guess you found a bug in sjasm.
Vincent van Dam
msx addict
Mensajes: 372
Publicado: Abril 29 2008, 23:18   
There's actually another problem I have experienced for a couple of versions; some code can crash the compiler. I think it has something to do with the includes (no binary includes), but I havn't been able to create a unit test for it.
sjoerd
msx addict
Mensajes: 436
Publicado: Mayo 02 2008, 14:03   
afaik sjasm crashes when you include a binary file with include instead of incbin.
 
 







(c) 1994 - 2008 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation