This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Registers not updating in ARM Development Studio

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