flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 05 Feb 2020, 14:33
Probably because your code and text is more than 510 bytes.
The value "510-($-$$)" will come out as a negative number. Try with this: Code: ... fin: JMP $ if 510-($-$$) < 0 err end if times 510-($-$$) dB 0 dW 0xaa55 |
|||
![]() |
|
ricar2ce 05 Feb 2020, 17:06
revolution wrote: Probably because your code and text is more than 510 bytes. Thank you very much for responding so soon. I made the suggested changes and now I have this answer
|
||||||||||
![]() |
|
revolution 05 Feb 2020, 17:32
So that shows that your code is more than 510 bytes. You need to shorten it.
|
|||
![]() |
|
ricar2ce 05 Feb 2020, 21:27
how is this possible with only 78 lines of code
|
|||
![]() |
|
revolution 05 Feb 2020, 21:29
ricar2ce wrote: how is this possible with only 78 lines of code Code: asigna db ' Arquitectura de las Computadoras$' separa db '==================================$' linea1 dB ' ### # # ## #### # # # #$' linea2 db '# # # # # # # # # # #$' linea3 db ' ## # # # # # # ## # #$' linea4 db ' # # # # # # # # # # #$' linea5 db '### ## ## #### # # ##$' present db 'Estudiantes:$' nombre1 db '- Ricardo Comendador Escalona$' nombre2 db '- Osmaray Martínez$' nombre3 db '- Yoandry Baró Fortune$' nombre4 db '- Sergio$' |
|||
![]() |
|
ricar2ce 06 Feb 2020, 00:06
Sorry for the inconvenience, what did you propose to do?
fasm has no solution for this? |
|||
![]() |
|
revolution 06 Feb 2020, 00:38
Either make your text shorter, or put your text into another sector.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.