Results 1 to 12 of 12

Thread: How to execute code

  1. #1
    DaoK
    Guest

    How to execute code

    Ok, I just came out of the store with my assembly book ( for the next session ). I want to start now instead of waiting the class so I read about 50 pages and now I want to try some code. I have read the FAQ but I do not see how work the free program A86 or something like that ?

    Anyone can just give me some step and tell me how it work ?

    And my second question is, I have Microsoft Visual Studio... any program there that I can use to use Assembly code ?

    Daok

  2. #2
    DaoK
    Guest
    I can not imagine that 7 persons have look and did not reply that basic question

  3. #3
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    You said you have Microsoft Visual Studio...
    The only place that i know of where you could use assembly code is Visual C++. (just run it inline).

    I have the A86 assembler also and it's not to bad to run a program. Do your code in notepad and save it as .asm. Then at the dos prompt type in A86 progname.asm this will compile your source code. Then to run your code just type the name of the program. ie..... HelloWorld.

  4. #4
    DaoK
    Guest
    ok Dilenger you help me so much in Java and now in Assembler THX YOU but it's still does not work check my screenshot :

    Attached Images Attached Images  

  5. #5
    DaoK
    Guest
    Code:
    	jmp	start
    Message1	db "Hello World!$"
    
    start:
    	mov	ah, 09h
    	mov	dx, offset Message1
    	int	21h
    
    	mov	ax, 4c00h
    	int	21h
    That the code I have in test.asm
    Attached Images Attached Images  

  6. #6
    ChimpFace9000
    Guest
    Your running "aw *.asm". He said to run "a86 *.asm".

  7. #7
    DaoK
    Guest
    I do not see a86 program in the a86 folder... only alink.exe aw.exe gorc.exe

  8. #8
    DaoK
    Guest
    ok I have downloaded the good thing and now all work, Thx you

  9. #9

  10. #10
    DaoK
    Guest
    At school they asked us to buy a book of about 450 pages. ( Pages are small. I have read about 100 pages in about 5-6 hours and I just do not understand at all lol I hope that the teacher will explain us better that in that book.

    Assembler look great but are completly different as VB

  11. #11
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Yeah assembly is cool to learn but i just dont see it being a main course in a college since most people are either not going to be able to grap the concepts of assembly or are just going to have a hard time at it. I would like to go for a degree in computer science but from every collage ive seen so far they offer C++, Assembly, and high level math. That's it. I went to a local technical school where 90% of the people in my class couldnt grasp Visual Basic and Java.

  12. #12
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well in my first year in college, when most people could not construct a for loop in java, we started doing assembly for the motoroal M68K, and I loved it. Its really cool
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width