flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Non-x86 architectures > [arm] Bad instruction error | 
| Author | 
 | 
| revolution 04 Aug 2013, 14:08 I don't know what you intend to link with in your code. But if you are trying to use fasmarm to assemble code you can try with the ELF example.     Code: format ELF executable entry start segment readable executable start: mov r0,0 add r1,pc,hello-$-8 mov r2,hello_len swi 0x900004 mov r0,6 swi 0x900001 hello: db 'Hello world',10 hello_len=$-hello ;dummy section for bss, see http://board.flatassembler.net/topic.php?t=3689 segment writeable | |||
|  04 Aug 2013, 14:08 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.