Load external symbol into register

Load external symbol into register

Postby ralisi » Fri Apr 11, 2014 12:11 pm

ralisi
 
Posts: 15
Joined: Fri Apr 11, 2014 12:00 pm

Re: Load external symbol into register

Postby timpart » Fri Apr 11, 2014 1:21 pm

timpart
 
Posts: 302
Joined: Mon Dec 17, 2012 3:25 am
Location: UK

Re: Load external symbol into register

Postby ralisi » Fri Apr 11, 2014 4:50 pm

Thank you for your answer. I forgot to use the linker, as I was working with only one file at that time.
ralisi
 
Posts: 15
Joined: Fri Apr 11, 2014 12:00 pm

Re: Load external symbol into register

Postby notzed » Sat Apr 12, 2014 11:47 pm

fwiw the # is optional for constants. But I tried removing them and it makes the code difficult to read - it's too easy to mistake small constants for registers so I'm making a habit of keeping them in myself.
notzed
 
Posts: 331
Joined: Mon Dec 17, 2012 12:28 am
Location: Australia

Re: Load external symbol into register

Postby timpart » Wed Apr 16, 2014 6:26 am

timpart
 
Posts: 302
Joined: Mon Dec 17, 2012 3:25 am
Location: UK

Re: Load external symbol into register

Postby notzed » Wed Apr 16, 2014 12:49 pm

notzed
 
Posts: 331
Joined: Mon Dec 17, 2012 12:28 am
Location: Australia


Return to Assembly

Who is online

Users browsing this forum: No registered users and 10 guests