Jump to content

Do you know how to progam in Assembly language?  

70 members have voted

  1. 1. Do you know how to progam in Assembly language?

    • Yes
      22
    • No
      37
    • What is it?
      11


Recommended Posts

I "know" a few different variations of Assembly, my latest project using Intel 8085 Assembly.  I used mainly Motorola processors in college.

At my old job (left a month ago), they were still using and I was still modifying an app that was completely in Assembly.  I hated it.  I tried my best to ignore change requests to that platform since it was being phased out anyways.

I don't currently use it for anything.
Link to comment
https://forums.phpfreaks.com/topic/14950-assembly-language/#findComment-61668
Share on other sites

plus assembly is really low level and nowadays, most languages are high level.

you wouldn't gain much by learning assembly unless your applications had to interact at a low level.

also, i don't really think you can call PHP a programming language as yet. it's more like a scripting language but on the server side.
Link to comment
https://forums.phpfreaks.com/topic/14950-assembly-language/#findComment-62162
Share on other sites

[quote author=king arthur link=topic=101004.msg401827#msg401827 date=1153608014]
Assembly language? You mean like Z80, 68000, SH2, 80x86, ARM7TDMI?

Nah, don't know it!
[/quote]

Sounds like you're pretty well versed in assembly! :D

I've thought about learning assembly, but I've never had a need to go that low level, nor do I foresee a need. I don't currently know it, and don't plan on learning it. :)
Link to comment
https://forums.phpfreaks.com/topic/14950-assembly-language/#findComment-62665
Share on other sites

  • 5 weeks later...
  • 2 weeks later...
It's been a while since I did anything in 'Assembly'. The only reason I see to use it is when you really need to optimise something or take complete control over the system. These days, it seems a little unnecessary when languages like C++ do a pretty strong job of optimising code.
The only thing I ever used it for really was for graphics routines for games, where it was pretty essential to get things as fast as possible. I'd probably say that game development would be the only valid reason to learn/use it nowadays.
Link to comment
https://forums.phpfreaks.com/topic/14950-assembly-language/#findComment-86235
Share on other sites

I first started the asssembler language in 1970 with the IBM host systems. You had to do assembler then because the machines only had 128K (yes: Kilobytes) of storage (real, virtual did not exist).

Then with the 650x chips, like Commodore, you also had to use assembler because max storage was 64K and something like Basic (early Microsoft not yet Bill Gates) took 32K storage for the interpreter only.

Even with the PC in 1981 max storage was 64K-128K, so for a real program you had to do assembler.

Nowadays you have so much storage and so many different chips that it is not worth the effort to learn it. Unless you are a real freak and want to learn how a chip really works.

Ronald  :cool:
Link to comment
https://forums.phpfreaks.com/topic/14950-assembly-language/#findComment-87337
Share on other sites

[quote author=MaaSTaaR link=topic=101004.msg429758#msg429758 date=1157624596]
i know a very very bit of assembly , and i plan to be good in it but it think it will need very long time .
[/quote]
you're right about the long time. even once you've grasped the basic concepts, it can still be quite tricky - the biggest reason being the fact that it's not an easily readable language - so you have keywords like 'int' (interrupt) and 'mov' (move) instead of C or PHP which have more descriptive function names. if doing things byte by byte flicks your bean, then assembly is for you. i remember studying viruses when i was at college, most of which were purely written in assembly and tought me quite a bit about the hows and whys. Also the Wolfenstein and Doom source code was a good learning point for the hows and whys, although it was written in C with assembly used for GFX/lighting routines, etc.

essentially though, the bare bones of assembly is just setting and moving 'bytes' around in memory, adding, subtracting, etc and using the chip's internal procedures to act on it. things were easier then though, when it was just a case of using 'int' to switch a screen mode and using 'mov' to move a coloured pixel to somewhere on the screen. nowadays things are far more complex. if low level is what you're after, i'd still suggest C++ or similar higher level languages, as most (if not all) C++ compilers allow you to also put assembly directly into the code for when it's essential to optimise, but without having the headache of going 'right down' to system level.
Link to comment
https://forums.phpfreaks.com/topic/14950-assembly-language/#findComment-87708
Share on other sites

  • 3 months later...
Assembly is a very low-level "language" that's used for interacting with the hardware, even below the operating system's control. The most common application for assembly is in a computer's BIOS, for communicating with the various hardware devices in the system. Comparing assembly to other languages is less than "apples and oranges" - more like apples and rocks. (Crappy analogy, I know.)
Link to comment
https://forums.phpfreaks.com/topic/14950-assembly-language/#findComment-153849
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.