Assembly IDE

Συζητήσεις για γλώσσες προγραμματισμού και θέματα σχετικά με προγραμματισμό.
Post Reply
User avatar
netharis
Venus Former Team Member
Posts: 1845
Joined: Sun Jul 15, 2007 2:37 pm
Academic status: Alumnus/a
Gender:
Location: Seattle, Washington
Contact:

Assembly IDE

Post by netharis » Sun Nov 18, 2007 6:10 pm

Παιδιά, μήπως γνωρίζετε κανέναν καλό ide για assembly σε windows;
Eίχα το MASM32 αλλα δεν βολεύει καθόλου. Έψαξα λίγο και βρήκα το WinASM
, του σετάρω τα directory του masm(αφου λειτουργεί μέσω αυτού) και ότι και να γράψω αυτομάτως μόλις πάω να το τρέξω κάνει fail..
Any help appreciated... :roll:
Image
Resistance is futile. Join the foss-side now!
"UNIX is very simple, it just needs a genius to understand its simplicity." - Dennis Ritchie
"The things that I want, by Max Payne. A smoke. A whiskey. For the sun to shine. I want to sleep, to forget. To change the past. Unlimited ammo and a license to kill. But right then, more than anything, I wanted her."
User avatar
fo@
Kilobyte level
Kilobyte level
Posts: 337
Joined: Mon Jun 19, 2006 12:35 pm

Post by fo@ » Sun Nov 18, 2007 7:12 pm

Περίμενε να βγει το .net assembly 2008
"With soap, baptism is a good thing"
User avatar
HdkiLLeR
Venus Project Founder
Venus Project Founder
Posts: 4356
Joined: Tue Jan 27, 2004 4:41 pm
Academic status: Alumnus/a
Gender:
Location: New York, NY
Contact:

Re: Assembly IDE

Post by HdkiLLeR » Sun Nov 18, 2007 7:29 pm

netharis wrote: Eίχα το MASM32 αλλα δεν βολεύει καθόλου. Έψαξα λίγο και βρήκα το WinASM
, του σετάρω τα directory του masm(αφου λειτουργεί μέσω αυτού) και ότι και να γράψω αυτομάτως μόλις πάω να το τρέξω κάνει fail..
Any help appreciated... :roll:
Τι ακριβώς κάνει fail; Είναι λίγο γενικό αυτό για να καταλάβουμε τι παίζει.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-->--- s+:+ a- C++(+++) BILS++++$ P--- L++++>+++++ E--- W+++ N+ o+ K w--
O M+ V-- PS++>+++ PE- Y++ PGP++ t+ 5+ X+ R* tv b++ DI- D+ G+++ e+++>++++ h r++ y++
------END GEEK CODE BLOCK------

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." -- Dennis Ritchie
User avatar
netharis
Venus Former Team Member
Posts: 1845
Joined: Sun Jul 15, 2007 2:37 pm
Academic status: Alumnus/a
Gender:
Location: Seattle, Washington
Contact:

Post by netharis » Sun Nov 18, 2007 7:55 pm

Κάνει fail π.χ σε αυτό το κομμάτι:

Code: Select all

.model small
.stack
.data
text   db "test", "$"

.code

main   proc
   mov   ax,seg text
   mov   ds,ax

   mov   ah,09
   lea   dx,text
   int   21h

   mov   ax,4c00h
   int   21h
main   endp
end main
Ενώ οποιοδήποτε δικό του sample project ανοίξω το και πατήσω Go All το τρέχει.

Το error που πετάει είναι:
C:\WinAsm\START.asm(9) : error A2004: symbol type conflict
C:\WinAsm\START.asm(19) : warning A4023: with /coff switch, leading underscore required for start address : main
Image
Resistance is futile. Join the foss-side now!
"UNIX is very simple, it just needs a genius to understand its simplicity." - Dennis Ritchie
"The things that I want, by Max Payne. A smoke. A whiskey. For the sun to shine. I want to sleep, to forget. To change the past. Unlimited ammo and a license to kill. But right then, more than anything, I wanted her."
User avatar
ailouros
Gbyte level
Gbyte level
Posts: 1041
Joined: Fri Apr 30, 2004 4:36 pm
Academic status: Alumnus/a
Contact:

Post by ailouros » Sun Nov 18, 2007 8:51 pm

Το λάθος που σου πετάει πάντως:
A2004


symbol type conflict : identifier

The EXTERNDEF or LABEL directive was used on a variable, symbol, data structure, or label that was defined in the same module but with a different type.

http://www.cs.wayne.edu/labPages/masmref.htm
User avatar
netharis
Venus Former Team Member
Posts: 1845
Joined: Sun Jul 15, 2007 2:37 pm
Academic status: Alumnus/a
Gender:
Location: Seattle, Washington
Contact:

Post by netharis » Sun Nov 18, 2007 9:25 pm

Τhx για την απάντηση.
Έτρεξα και κάποια άλλα samples και τα τρέχει κανονικά...
Φαίνετε οτι δεν μπορώ να δουλέψω ένα string μέσα απο το ΑΧ register...
Όποιος ξέρει τι συμβαίνει ας μου εξηγήσει και μένα :roll:
Image
Resistance is futile. Join the foss-side now!
"UNIX is very simple, it just needs a genius to understand its simplicity." - Dennis Ritchie
"The things that I want, by Max Payne. A smoke. A whiskey. For the sun to shine. I want to sleep, to forget. To change the past. Unlimited ammo and a license to kill. But right then, more than anything, I wanted her."
User avatar
vangos
Mbyte level
Mbyte level
Posts: 571
Joined: Tue Mar 16, 2004 3:14 pm
Location: Heracleia@UTA

Post by vangos » Thu Nov 22, 2007 6:47 am

IDA Pro Disassembler.
User avatar
netharis
Venus Former Team Member
Posts: 1845
Joined: Sun Jul 15, 2007 2:37 pm
Academic status: Alumnus/a
Gender:
Location: Seattle, Washington
Contact:

Post by netharis » Thu Nov 22, 2007 11:50 am

vangos wrote:IDA Pro Disassembler.
Thx, μόλις τώρα το δοκίμασα. Η έκδοση 4.9(free) σου επιτρέπει μόνο να κάνεις disassembly σε κάποιο exe. Για να δημιουργήσεις δικό σου project χρειάζεται την 5.1, η οποία δυστυχώς δεν είναι free.
Ευχαριστώ πάντως :smt023
Image
Resistance is futile. Join the foss-side now!
"UNIX is very simple, it just needs a genius to understand its simplicity." - Dennis Ritchie
"The things that I want, by Max Payne. A smoke. A whiskey. For the sun to shine. I want to sleep, to forget. To change the past. Unlimited ammo and a license to kill. But right then, more than anything, I wanted her."
*estrngd
Mbyte level
Mbyte level
Posts: 612
Joined: Thu Dec 16, 2004 1:45 pm
Academic status: N>4
Gender:
Contact:

Post by *estrngd » Thu Nov 22, 2007 1:09 pm

C:> copy con test
a
<code here>

q
^Z
C:\> debug<test

:evil: :twisted: :-D :smt011 :smt077 :smt096
Post Reply

Return to “Προγραμματισμός”