Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-01

CPSR

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Carsten Bager

I would like to do the following in assembler (ARM), so I can write out the Pascal variable pas_cpsr containing the CPSR register. Is it possible?

  asm
    mrs   R0, CPSR
    ldr     r1,pas_cpsr
    str     r0,[r1]
  end;

Regards Carsten

Reply by email