LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2014, 11:11 AM   #1
mirage1993
Member
 
Registered: Feb 2014
Location: China
Distribution: CentOS6.4
Posts: 51

Rep: Reputation: Disabled
Question I have learned masm .would it be easier to learn gnu assembly?


I know there are many difference between the masm and gas.
but I have learned masm. I want to know if it could be easier to learn gas.

by the way ,I want to learn the linux kernal,so I need to learn gnu assembly.
thanks.
 
Old 06-04-2014, 03:18 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,564

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
If you can program in one assembly language, learning others is trivial. It's the cpu that matters for Assembler, so you would learn x86 assembler, and x86_64 would be a handful of extra commands. I only used a few: Z80, 8051, & PIC. Then my son showed me a program for his assembler class in x86 assembler, and I debugged it for him, and told him how to finish it. His teacher was crap.

Seeing as you are into assembler, you may enjoy Menuet OS. Google it.
 
1 members found this post helpful.
Old 06-04-2014, 05:18 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,599

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by mirage1993 View Post
I know there are many difference between the masm and gas.
but I have learned masm. I want to know if it could be easier to learn gas.

by the way ,I want to learn the linux kernal,so I need to learn gnu assembly.
thanks.
There is very little assembly in the kernel... All of that has been moved into platform specific entries, and mostly just provide library functions (atomic operations, mmu, context switching and such). Everything else is C.
 
1 members found this post helpful.
Old 06-04-2014, 07:12 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Member Response

Hi,

I programmed in BAL for a term then moved to masm with little or no effort. As others have pointed out that changes will be family/machine related. At one point machine language was the way to go but with advances in tools/assemblers for particular families dictated the move to allow efficient compilation & debugging.

There is nothing wrong with working in assembler, tool boxes & libs are available to enhance your experience(s) for each family. My early IBM BAL helped when I was introduced to Intel MASM. Personally, I protect my tool box and do not share.

Most times BASH scripting meets my initial design rules for implementing ideas. Sometimes you do not even need to move to assembly or higher level languages for a task(s).

Have fun!
 
1 members found this post helpful.
Old 06-05-2014, 12:28 AM   #5
mirage1993
Member
 
Registered: Feb 2014
Location: China
Distribution: CentOS6.4
Posts: 51

Original Poster
Rep: Reputation: Disabled
thanks everyone!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Learn Assembly before CUDA? BrajZore Programming 4 03-04-2013 08:18 PM
[SOLVED] Perl vs Python which is easier to learn ajeesh.tr Programming 35 01-25-2011 07:11 PM
What is easier to learn/setup GRsecurity or SELinux? (OT) avalonit Linux - Security 5 11-16-2009 10:46 AM
What is easier to learn/setup GRsecurity or SELinux? abefroman Linux - Security 10 11-15-2009 08:38 AM
How hard is it to learn gentoo? Easier than RH? silverbullet Linux - Newbie 3 11-29-2003 03:22 PM


All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration