[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pgubook-readers] Programming from the Ground Up, Ch 3
From: |
Bryn M. Reeves |
Subject: |
Re: [Pgubook-readers] Programming from the Ground Up, Ch 3 |
Date: |
Wed, 03 Jul 2013 11:54:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
On 07/02/2013 09:20 PM, Amanda Foy wrote:
> exit.s: Assembler messages:
> exit.s:4: Error: unknown pseudo-op: `.glob1'
> exit.s:6 Error: no such instruction: `mov1 $1 %eax'
> exit.s:8 Error: no such instruction: `mov1 $0 %ebx'
Hi Amanda,
Just a small typo I think - the font used in the text makes '1' (numeral
one) and 'l' (lower case 'L') look very similar.
The correct strings are '.globl' ("dot-glob-little-L" - a contraction of
'global') and 'movl' (mnemonic for 'move long').
Let us know if that solves the problem for you!
Cheers,
Bryn.