Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1702

pthread_callback

Date 2012-05-14 13:51 +0100
From cferris@freeRemoveuk.com.invalid
Newsgroups comp.sys.acorn.programmer
Subject pthread_callback
Message-ID <5d51bd8f52.cferris@cferris.freeuk.com> (permalink)
Organization Home

Show all headers | View raw


Ref code '__pthread_callback'

Ref some 26/32bit code.
What is happening in both modes?

    MSR     SPSR_cxsf,R0           
    LDMIA   R14,{R0-R14}^

and

    MOVS    PC,R14

************
    MOV     R0,#1
    STR     R0,[R2,#&048]          
    LDR     R14,|L00008F24.Address|
    LDR     R0,[R14,#&040]         
    MSR     SPSR_cxsf,R0           
    LDMIA   R14,{R0-R14}^
    MOV     R0,R0
    LDR     R14,[R14,#&03C]        
    MOVS    PC,R14       
************

thanks
-- 
Colin Ferris Cornwall UK

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

pthread_callback cferris@freeRemoveuk.com.invalid - 2012-05-14 13:51 +0100
  Re: pthread_callback Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-05-15 15:35 +0200
    Re: pthread_callback "John Williams (News)" <UCEbin@tiscali.co.uk> - 2012-05-15 15:43 +0200
    Re: pthread_callback Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-05-16 07:56 +0200
  Re: pthread_callback Stewart Brodie <stewart.brodie@ntlworld.com> - 2012-05-16 00:01 +0100

csiph-web