Question:

How do you program in assembly language

by  |  earlier

0 LIKES UnLike

I am suppose to make a assembly language program that is suppose to get what keys that you pressed in your keyboard and is suppose to run invisibly behind your computer. How do you get key press from the keyboard using assembly? How do you make the program run at the background? What is the specific code for that in assembly?

 Tags:

   Report

5 ANSWERS


  1. Your question cannot be answered in any kind of a useful way. It's like this question:

    I want to build a suspension bridge over a 20 miles stretch. It needs to hold both cars and trucks, two lanes in either direction. How do you get the parts up in the air? How do I make the plans?

    You have none of the skills necessary to do the job you're set out for yourself. You have no idea even how to start. Why not start with something simple first, like a BASIC program that prints "Hello, world!" or something?

    And if you already know how to do that, you've broken the first rule of question asking -- you've failed to state your skill set. So people have no way to tell *you* how to do something because they don't know what you know how to do.

    In any event, no sane person making a keyboard logger would use assembly language anyway. So you're not only trying to build a suspension bridge, you're trying to do it out of styrofoam instead of steel.

    And you didn't state what operating system it's for or what platform. So giving you "specific code" is impossible.


  2. So you are asking for a keylogger?

  3. it depends what architecture you are programming

  4. You don't mention which operating system you're using.  Anyway, there are 3 problems here.  First, if you knew how to program in AL, then you wouldn't need to ask your question.  Second, in order to make a keyboard logger, you should at least know how to make it with whatever language that you're currently using.

    Third, since this is a malicious program, why would anyone want to help you with that?

    If you don't know how to convert  high-level level code to AL, then that's something you need to work on.  In this case, you're essentially asking someone to make the program for you.  Even some kind AL programmer like myself wouldn't be THAT generous with his time.

        

  5. Assembly language is just that, a language. It's different from "machine language" which is the "assembled" code. For example, on the IBM mainframe, you might have Assembly language which says, LA R15,0 which is a direct substitution for machine code bits and bytes meaning, "load zero into register 15". However, in machine code it ends up being a bunch of bytes or bits depending upon how you look at it. Assembly language is run through a program known as an Assembler. Humans usually don't write "machine code" ... Humans write Assembly language.

Question Stats

Latest activity: earlier.
This question has 5 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.