Learn Assembler in Ubuntu

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Learn Assembler in Ubuntu

Post by capellan » Mon Sep 10, 2018 1:26 am

Hi all,

Today, I found this book and just have to
post the link in this forum:
http://www.egr.unlv.edu/~ed/assembly64.pdf

Al

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Learn Assembler in Ubuntu

Post by bogs » Mon Sep 10, 2018 12:19 pm

Well, aside from this small mistake in the introduction -
Assembly language is as close to the processor as
you can get as a programmer.
It looks like it will be a pretty good read.

Thanks Al!
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9578
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Learn Assembler in Ubuntu

Post by dunbarx » Mon Sep 10, 2018 2:04 pm

I am so glad I do not have to program in assembly language.

Craig

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Learn Assembler in Ubuntu

Post by Klaus » Mon Sep 10, 2018 6:02 pm

I sneaked a peek, and got horribly scared! :shock:

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Learn Assembler in Ubuntu

Post by bogs » Mon Sep 10, 2018 6:05 pm

Oh come on now, it isn't that bad :roll: I was rather pleased to learn they finally came out with some hybrid compilers :P
Image

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Learn Assembler in Ubuntu

Post by Klaus » Mon Sep 10, 2018 6:26 pm

bogs wrote:
Mon Sep 10, 2018 6:05 pm
Oh come on now, it isn't that bad :roll:
No, it's WORSE! :D

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Learn Assembler in Ubuntu

Post by capellan » Mon Sep 10, 2018 6:27 pm

Klaus, you probably read this joke:
If you give someone a program, you will
frustrate them for a day; if you teach them
to program, you will frustrate them for a
lifetime.
:lol:

Al

Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Re: Learn Assembler in Ubuntu

Post by Newbie4 » Mon Sep 10, 2018 7:01 pm

I learned and programmed in assembly language when I first started. It really takes programming to its basics. In fact any other language that you may write in is ultimately compiled Into machine language/assembly language. (Assembly language is basically machine language with human readable tags)

Learning assembly language is tedious and very detail oriented but you learn much about how a computer really works and it’s basic parts - registers, buffers, memory, etc. You also understand many concepts such as zero-based indexing, buffering, pointers, stacks, interrupts, threads and more. It makes you a better programmer in other languages because you understand the trade-offs made in each language and how to best to take advantages of the design of the language. You better understand the operational difference between RISC and CISC cpus. (Reduced vs Complex Instruction Set Computers).

Most popular computer games are written in general purpose languages (C, C++, C#, etc) but parts are written in assembly language to speed up the action and reduce bottlenecks. In fact, the general purpose languages are usually written in assembly language themselves. Windows, OSX and even Ubuntu are written in assembly language of the chip they are running on. Every CPU has its own assembly language specific to that chip. So if Apple decides to port OSX over to its own Axx chips, they will have to rewrite OSX in its own assembly language

If you really want to learn about the design of computers and how they work, it is worth the effort. Programming will make more sense and you will find it easier to learn any language. You will become a better programmer.
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Learn Assembler in Ubuntu

Post by richmond62 » Mon Sep 10, 2018 8:42 pm

you learn much about how a computer really works
Hey, I know what happens inside those fizzing boxes is MAGIC: Please don't spoil that for me. 8)

SparkOut
Posts: 2839
Joined: Sun Sep 23, 2007 4:58 pm

Re: Learn Assembler in Ubuntu

Post by SparkOut » Mon Sep 10, 2018 9:41 pm

I cut my teeth on Z80 assembler with the ZX Spectrum. It was cool then. It got impossibly beyond capability after that.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Learn Assembler in Ubuntu

Post by richmond62 » Mon Sep 10, 2018 10:27 pm

Well, anyone who is over about 45 will have had something to do with Assembler language at one time or another. I was "doing something" (mainly getting cluster headaches) on the University of Durham, England mainframe in 1984: mind you, it made me appreciate PASCAL. 8)

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Learn Assembler in Ubuntu

Post by capellan » Mon Sep 10, 2018 10:52 pm

Could be useful to create an interactive simulation of this course
within a LiveCode stack?

Al

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Learn Assembler in Ubuntu

Post by bogs » Mon Sep 10, 2018 11:01 pm

richmond62 wrote:
Mon Sep 10, 2018 10:27 pm
Well, anyone who is over about 45 will have had something to do with Assembler language at one time or another. I was "doing something" (mainly getting cluster headaches) on the University of Durham, England mainframe in 1984: mind you, it made me appreciate PASCAL. 8)
You and I have similar experiences Richmond, minus the university part :P I started with machine code, went to assembly for a while, then went to pascal after not touching programming for some number of years. I really loved Pascal Image and re-learned to like programming again :wink:
Image

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Learn Assembler in Ubuntu

Post by Klaus » Mon Sep 10, 2018 11:27 pm

Uh, after the end of my career as a musician in 1993, I turned into computers at the age of 37, never touched such thing before. Three years later I made a living teaching about 10 DTP (Photoshop, Quark XPress etc.) and Multimedia (Audio-/video-editing, 3D, Director etc.) apps at a local training center. :-D

On my first Mac LC "Hypercard" was pre-installed, but I did not really "get it" at that time.

Later I discovered X-Talk with "SuperCard" (in the old days without internet access), had some successful attempts in "Director" and then found my love "Metacard", the first Win and Mac version came out in 1999, got hooked and the rest is history! :-D

P.S.
So no, I did not have "something to do with Assembler language at one time or another".

Post Reply

Return to “Off-Topic”