We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi guys,
I am very new to ARM and programming and am taking infantile steps to learn them.
On a windows 10 platform I have downloaded and installed the 30day ARM Dev Studio 2019.0 coding environment together with the FVP (cortex -53Ax1) for emulation.
At this very early stage I am using the default armlink.exe linker.
My aim is to just learn AARCH64 assembly with absolutely no C at all. I have a test code to check registers, memory etc... which is listed below:
.section ".text.boot"
.global _start
_start:mov X0, #2
Since I am using the default linker I don't know if the sections/directives etc... in the code above matter. It's a very simple piece of code which should just update register X0 to the immediate value 2. However when I check the register X0 it always shows as 0x0000000000000000. If I am correct it must read 0x0000000000000010
Can someone please advise of the correct steps if i am missing out on anything.
Thanks,
Tony201900
Hi Ronan, thank you so very much for your quick response. Your advise was spot on!. I had some problems importing your file into the environment so changed a few things in my project to reflect your advise. I was then able to successfully simulate the code.
Many thanks again,
Tony