News for hackers. Stuff that matters.
Re:Web server for Linux written in amd64 assembly by pjmlp on Monday February 03, 2014 @07:12AM (#7170207)
> It's awesome how assembly these days is reasonably high level:

There were macro assemblers already available in the 80's!

Re:Web server for Linux written in amd64 assembly by mjn on Monday February 03, 2014 @07:45AM (#7170326)
In my OS/architecture class we used a textbook whose author had piled on so much macro assembling on top of SPARC asm (macros all in m4, naturally) that he in effect was writing the book using a personal high-level language constructed out of gobs of m4. Like the bizarro-world version of personalized language construction in Lisp-land...

Was this book (the first review complains about the same thing): http://www.amazon.com/gp/product/0130255963/ref=as_li_ss_tl?...

Re:Web server for Linux written in amd64 assembly by cglace on Monday February 03, 2014 @12:24PM (#7172009)
I used this book for OS/architecture class as well.

I think the use of m4 needlessly complicated the material.

Re:Web server for Linux written in amd64 assembly by csmithuk on Monday February 03, 2014 @07:23AM (#7170252)
This. Microsoft MASM is the canonical example of one.

Born in 1981, still being updated today:

http://en.wikipedia.org/wiki/Microsoft_Macro_Assembler

Re:Web server for Linux written in amd64 assembly by gillianseed on Monday February 03, 2014 @07:57AM (#7170365)
Indeed, I pretty much learned programming on the C64 using Turbo Assembler which had macro functionality.
Re:Web server for Linux written in amd64 assembly by jamiesonbecker on Monday February 03, 2014 @03:44PM (#7173334)
I learned assembly on the Atari 8-bit (like the C64 and AII, all of which used a variant of the Motorola 6502) which had an assembler named MAC/65. MAC, of course, was short for macro. This was in the early 80's also. Good times.

http://en.wikipedia.org/wiki/MAC/65

Re:Web server for Linux written in amd64 assembly by MrCool2000 on Monday February 03, 2014 @08:37AM (#7170516)
AFAIK the Turbo Assembler was producing x86 bytecode, how would that work?
Re:Web server for Linux written in amd64 assembly by qw on Monday February 03, 2014 @08:51AM (#7170573)
http://turbo.style64.org/about-the-turbo-assembler-homepage

"Turbo Assembler is a native c64 assembler which was introduced in 1985 by the German company, Omikron."

Re:Web server for Linux written in amd64 assembly by pjmlp on Monday February 03, 2014 @09:17AM (#7170675)
> x86 bytecode

What?!

Re:Web server for Linux written in amd64 assembly by mehmetemre on Monday February 03, 2014 @10:28AM (#7171060)
I guess he's talking about Borland's Turbo Assembler that was coming with Turbo Pascal: http://en.wikipedia.org/wiki/Turbo_Assembler
Re:Web server for Linux written in amd64 assembly by pjmlp on Monday February 03, 2014 @01:44PM (#7172611)
My remark was because the OP used bytecode to describe assembly opcodes.
Re:Web server for Linux written in amd64 assembly by nkurz on Monday February 03, 2014 @04:13PM (#7173526)
The usage is nonstandard, but it provides an interesting perspective. What if he was planning to run the X86 code on a virtual CPU, is his usage then correct? Does the nature of compiled code change if it is executing on a "real" machine instead of a virtual one?
Re:Web server for Linux written in amd64 assembly by pjmlp on Monday February 03, 2014 @06:13PM (#7174240)
I would say yes, given that some bytecode instruction sets make a CISC processor look like a RISC one.
Re:Web server for Linux written in amd64 assembly by gillianseed on Monday February 03, 2014 @03:14PM (#7173166)
You must be confusing Turbo Assembler on the Commodore 64 with something else, the C64 used an 8-bit cpu called 6510
Re:Web server for Linux written in amd64 assembly by wglb on Monday February 03, 2014 @09:13AM (#7170666)
Try the 60's.
Re:Web server for Linux written in amd64 assembly by sehugg on Monday February 03, 2014 @12:54PM (#7172275)
Also CISC instruction sets (VAX, 68k) were already pretty high-level.