arm


Assembler not finding second operand in MOV


This is the file I am trying to assemble (filename: asmtut3.s):
.global _start
_start:
MOV R0, #20
MOV R7, #1
SWI 0
When I try to assemble it using:
as -o asmtut3.o asmtut3.s
I get the error:
asmtut3.s: Assembler messages:
asmtut3.s:3: Error: expecting operand after ','; got nothing
asmtut3.s:4: Error: expecting operand after ','; got nothing
asmtut3.s:5: Error: no such instruction: `swi 0'
I am running fedora 25, if that helps?

Related Links

In ARM big.LITTLE architecture is there any ID register to find how many core/cpu present in a cluster dynamically?
Why is “ldr pc, [pc, #imm]” in thumb unpredictable
arm cross compilation executable behavior
STM32 internal clocks
Flash magic Alternative on Linux for LPC1227
iotovity croos compilation fails.
Even/Odd Numbers in Arm
NEON SSUBL instruction has wrong result? 127-220 = 0x00a3(should be 0xffa3)
Stage duplication in case of dual issue pipeline
Valgrind showing odd “if” statement cycle consumption
arm-none-eabi-gdb - can't establish connection to debugger
How to translate neon intrinsics to llvm-IR using llvm-clang on x86
Wipe out dropout operations from TensorFlow graph
Temporarily disable interrupts on ARM
What is a partial dual-issue pipeline?
ADC on AT91SAM7 with DMA

Categories

HOME
codeigniter
elf
direction
design
word-vba
cql3
feed
textbox
tin-can-api
add-in
base
installer
embed
flow
api-design
zap
procedure
git-bash
co
c-strings
jqplot
liferay-aui
mathdotnet
toolbar
effects
android-security
shinydashboard
nest-thermostat
react-redux-form
detach
doctrine-odm
chamilo-lms
ecdsa
bem
ibm-wcm
worldpay
automata-theory
mdanalysis
qmake
project-centennial
gulp-babel
adal.js
xbrl
reactivex
ice
mit-scheme
data-fitting
dashing
ota
groupbox
accounts
viewengine
asp.net-webpages
hl7-v2
screen-capture
flexigrid
interpreted-language
ironmq
voting
multiscreen
cvc4
alienvault
fastparse
movie
office-2010
private-methods
nitrogen
custom-titlebar
textselection
qt4.7
pydatalog
source-highlighting
hogan.js
nspersistentdocument
12factor
headless-browser
expression-encoder-sdk
letter-spacing
textboxlist
noaa
apache-config
development-machine
sqlprofileprovider
ants
graceful-degradation

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App