home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,611 of 4,675   
   Frederick Virchanza Gotham to Thomas Koenig   
   Re: aarch64 (64-Bit ARM) - return by val   
   17 Jul 23 10:03:02   
   
   From: cauldwell.thomas@nospicedham.gmail.com   
      
   On Monday, July 17, 2023, Thomas Koenig wrote:   
   >   
   > If you're using gcc, you may need to specify volatile.   
      
      
   Instead of using "inline assembler" inside a C++ source file, I instead tried   
   to make a separate assembler file.   
      
   Here's what I have, but it still doesn't work, it's still segfaulting inside   
   'detail_Invoke':   
      
   .text   
      
   .global tl_p   
   .Addr_tl_p:   
       .xword tl_p   
      
   .global detail_Invoke   
   detail_Invoke:   
       adrp x9, [.Addr_tl_p]   
       ldr x9, [x9]   
       mov x10, x9   
       br x10   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca