Programming, for all ages and all languages.
-
gil0mendes
- Posts: 5
- Joined: Mon Aug 06, 2012 3:23 am
Post
by gil0mendes »
Hello,
Can they translate these three lines of code to NASM for GAS
Code: Select all
mov [gBIOSDriveNumber], dl
(...)
ABSOLUTE kReadBuffer + kSectorBytes
gBIOSDriveNumber resw 1
Thanks
-
thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
-
Contact:
Post
by thepowersgang »
-
Tosi
- Member
- Posts: 255
- Joined: Tue Jun 15, 2010 9:27 am
- Location: Flyover State, United States
-
Contact:
Post
by Tosi »
Read the GAS manual or just google AT&T syntax, it's not that hard.
-
halofreak1990
- Member
- Posts: 41
- Joined: Thu Aug 09, 2012 5:10 am
Post
by halofreak1990 »
Or, alternatively, you could precede the ASM block with
<PixelToast> but i cant mouse
Porting is good if you want to port, not if you want maximum quality. -- sortie
-
Antti
- Member
- Posts: 923
- Joined: Thu Jul 05, 2012 5:12 am
- Location: Finland
Post
by Antti »