98 Posted Topics

Member Avatar for OnIIcE

Frank recently posted the following code in the alt.lang.asm newsgroup. [code] ;--------------------------------- ; nasm -f bin -o hwnoint.com hwnoint.asm org 100h push word 0B800h ; segment of video memory pop es ; (because stosw uses es:di) mov di, (10 * 80 + 30) * 2 ; offset into screen ; …

Member Avatar for Evenbit
0
203
Member Avatar for sweety0

Download "disasm.zip" from the Files section of AoAProgramming: [url]http://groups.yahoo.com/group/aoaprogramming/[/url] It is a good place to start on coding a modern-day disassembler/debugger. Nathan. [url]http://del.icio.us/Evenbit[/url]

Member Avatar for Evenbit
0
79
Member Avatar for vegaseat

A few examples to show how easy this is to accomplish in Assembly Language: A) Linux console using GAS: [CODE].text .global _start _start: movl $4, %eax movl $1, %ebx movl $hello, %ecx movl $14, %edx int $0x80 movl $1, %eax int $0x80 hello: .string "Hello, world!\n" [/CODE] ASSEMBLE: as -o …

Member Avatar for sgssergio
0
1K
Member Avatar for tech291083

[QUOTE=tech291083;340810]Hi, If any one here is interested in learning about the off shore jobs done for the US by countries such as India, here is an article I just came across. Hope you enjoy it. Thanks. [URL="http://www.time.com/time/business/article/0,8599,1607631,00.html"][B]http://www.time.com/time/business/article/0,8599,1607631,00.html[/B][/URL][/QUOTE] Nice find! That was *very* interesting reading. Nathan.

Member Avatar for xeto
1
150
Member Avatar for gallantmon1

You have several "int 0x21" calls in your code. These are DOS calls: [url]http://www.ctyme.com/intr/int-21.htm[/url] Since DOS is not loaded (indeed, you are writing your own OS), then you cannot use these functions. You must restrict yourself to just the BIOS calls. Nathan.

Member Avatar for Evenbit
0
209
Member Avatar for Evenbit

[url]http://sourceforge.net/project/showfiles.php?group_id=165727[/url] Version 2.3 of the StdLib is now on SourceForge. - Improvements: Linux support is now more complete. - Includes: Automated Test Suite The intention of this project is to support users of Randall Hyde's HLA (High Level Assembly) language who wish to maintain, extend, or evolve the HLA Standard …

0
62
Member Avatar for Evenbit

[[ re-posted from the DesktopLinuxAsm mailing list ]] [url]http://groups.yahoo.com/group/DesktopLinuxAsm/[/url] << Here is a puzzle for assembler guru's and anyone who needs a diversion. Bill Gates has spent the last year working on a virus to destroy Linux. To complete his virus he needs the constant of -4 in eax. His …

0
70
Member Avatar for Evenbit

[url]http://sourceforge.net/project/showfiles.php?group_id=165727[/url] Version 2.2 of the StdLib is now on SourceForge. - Improvements: increases OS independance, performance, and design consistency. Accessible from other assemblers and other languages. - Includes: Automated Test Suite The intention of this project is to support users of Randall Hyde's HLA (High Level Assembly) language who wish …

0
61
Member Avatar for sofianos

You simply forgot to store the result to the final array. [code]loopi: MOV AX, [SI] MOV BX, [DI] MOV DX, [SP] SUB AX , BX MOV DX, AX MOV [SP], DX <<< add this line INC SI INC DI INC SP ;this is wrong, what should i write here? LOOP …

Member Avatar for Tight_Coder_Ex
0
196
Member Avatar for toxicboy

Your best bet would probably be to look at existing (hopefully *working*) example code which you can find stored away all over the Internet. Here are some links to get you started: [url]http://www.programmersheaven.com/zone5/mh1.htm[/url] [url]ftp://ftp.simtel.net/pub/simtelnet/msdos/asmutl/[/url] [url]http://www.textfiles.com/programming/[/url] [url]http://www.nondot.org/sabre/os/articles/CommunicationDevices/[/url] Nathan.

Member Avatar for toxicboy
0
1K
Member Avatar for ChipChamp

If you insist on learning the obsolete DOS-style 16-bit code, then you need to get a 16-bit linker. One is available ( Lnk563.exe ) here: [url]http://website.masm32.com/microsft.htm[/url] Nathan.

Member Avatar for ChipChamp
0
2K
Member Avatar for PieSquared

[QUOTE=PieSquared;416853]I'm writing a compiler, but if I want it to be on more than one platform, it seems I have to learn every assembly language for the different platforms. I've seen a number of languages which try to be 'portable assembly languages' such as Linolium and C--, but they all …

Member Avatar for PieSquared
0
198
Member Avatar for RicardoDiaz

Since Mac OS X is based on BSD, you will have better luck making BSD-style calls instead of those Linux syscalls. BSD looks for the function parameters on the stack instead of in the registers. Here are some tutorials: [url]http://user.nj.net/~tms/hello.html[/url] [url]http://www.int80h.org/bsdasm/[/url] Nathan.

Member Avatar for Evenbit
0
227
Member Avatar for Zarathu

[QUOTE=Zarathu;398324]I would like to know what is wrong with this code: [code] [BITS 32] ; Windows XP SP2 32-bit section .text global _main _main: push Command mov eax, 0xAABBCCDD ; address of system() call eax Command: db "echo whatever" [/code][/QUOTE] The "echo" command is implemented by "CMD.EXE" [ "COMMAND.EXE" on …

Member Avatar for Zarathu
0
179
Member Avatar for gparadox

> Im not asking for code or anything, just an idea. I tried manually moving the first letter into the last letter of the new string with: reverse: mov ah,theword[bx] ;read the letter dec bx ;decrease the read pointer mov wordbw[di], ah ;write the letter inc di ;increase the write …

Member Avatar for gparadox
0
154
Member Avatar for kumar.nitesh

[QUOTE=kumar.nitesh;351406][B][COLOR=#ff0000]Hi, I am having a problem while accessing Assemblies inside my program.[/COLOR][/B] [B][COLOR=red]I have two asssemblies having same name but different version. Both contents the same method, but the method have different functionality.[/COLOR][/B] [B][COLOR=red]Now I want to access both assemblies in turn both method for different functionality inside a single …

Member Avatar for kumar.nitesh
0
162
Member Avatar for Elfshadow

[QUOTE=Elfshadow;344850]Between NASM and FASM which one would you pick? And I pretty new to ASM but I think the Intel style looks better so I think that rules GNU out unless they have a Intel version syntax.[/QUOTE] A good reason to pick NASM would be that you have at your …

Member Avatar for Evenbit
0
113
Member Avatar for Zay

[QUOTE=Zay;342532]I do not know the way of checking , I mean using of T , R ..... in Debug you got my point! I want to Know steps , for example : if our programe about adding two No. , i want to make sure that variable "sum" contain the …

Member Avatar for Evenbit
0
176
Member Avatar for uaefame

[QUOTE=uaefame;340877]Hmm i found the answer ...[/QUOTE] Yep, HLA's type-checking can cause a little angst until you get comfortable with it. Nathan.

Member Avatar for Evenbit
0
96
Member Avatar for mireazma

[QUOTE=mireazma;342223]I've heard that executables may be compressed (unless encrypted) with certain routins. Who could tell me a file expander tool to remove the compression envelope from exe's?[/QUOTE] Probably the most popular tool is UPX: [url]http://upx.sourceforge.net/[/url] A Google search for "exec packer" might net you more... Nathan.

Member Avatar for Evenbit
0
108
Member Avatar for sillyboy

[QUOTE=sillyboy;336787]Hi all, I am after a instruction set with limited or no floating-point instructions. Why I want this is to get a compiler of this certain architecture and compile code (one with floating-point and the other without). With the resulting assembly I wanted to compare the two and do some …

Member Avatar for Purple Avenger
0
147
Member Avatar for mattyd

I just run across this today: [url]http://discuss.joelonsoftware.com/default.asp?joel.3.7054.16[/url] which basically asks the same question. Pondering this, I came up with this analogy: All the die-hard Amatuer (Ham) Radio people will continue to preach about all the reasons to learn Morse Code even though it is easy today to get an advanced …

Member Avatar for bootstrap
1
261
Member Avatar for SamY

[QUOTE=SamY;315069]I need help as to how 2 change machine codes 2 binaries or hex like mov to mayb 101011111, yeah, u know like own compiler[/QUOTE] Not sure what you are wanting to do, but here are some resources to check out. First, take a look at Randall Hyde's discussion of …

Member Avatar for SamY
0
153
Member Avatar for Mushy-pea

[QUOTE=Mushy-pea;300592]Hello everyone. I read a couple of tutorials on x86 assembly a while ago. It was made clear in these that certain instructions need to be included at the end of a program to make it close properly. However, there was some inconsistency about how a program should be terminated. …

Member Avatar for Purple Avenger
0
113
Member Avatar for abdullateef

[QUOTE=abdullateef;291637]HI EVERY ONE I want TASM code to show the real time in the screen in a sample way thanks :-|[/QUOTE] You can probably find a few examples in the Fidonet archives: [url]http://www.cet.com/~jvahn/80xfiles.html[/url]

Member Avatar for Purple Avenger
0
295
Member Avatar for sbswhatever

{it says "Solved" but I will reply anyway} The "masm32" package [URL="http://www.masm32.com/"]http://www.masm32.com/[/URL] is a collection of library files, examples, etc, plus "ml.exe" and related tools. The installer written for this package has trouble with network drives -- so make sure you are at the keyboard + monitor + box of …

Member Avatar for Evenbit
0
224
Member Avatar for bokim

Check out [URL="http://www.masm32.com"]http://www.masm32.com[/URL] for information and lots of examples.

Member Avatar for Evenbit
0
111
Member Avatar for Evenbit

This exercise gets you familiar with Ubuntu command-line tools for creating, navigating, and removing directories. [B]Follow these steps[/B] [LIST=1] [*]Type "cd ~" and press Enter. This makes sure you are working in your "home" directory. [*]Create a new directory by typing "mkdir mystuff" and press Enter. [*]Type "cd mystuff" and …

0
90
Member Avatar for WoBinator

[url]http://www.amazon.com/s/ref=nb_ss_b/104-7815545-0493562?url=search-alias%3Dstripbooks&field-keywords=computer+programming&Go.x=0&Go.y=0&Go=Go[/url] [url]http://www.google.com/search?q=free+online+programming+book&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=org.mozilla:en-US:unofficial[/url] [url]http://www.freetechbooks.com/[/url] [url]http://www.freeprogrammingresources.com/books.html[/url]

Member Avatar for WoBinator
0
203
Member Avatar for sciconf

You will want to use the numbers that are assigned to the mnuemonics. It looks like you are creating a 6502 simulator. In that case, use the information located here: [url]http://www.6502.org/tutorials/6502opcodes.html[/url] Nathan.

Member Avatar for Evenbit
0
84
Member Avatar for rmeader

[QUOTE=rmeader;256892]Can anyone point me to a discussion or reference tutorial, etc. on how to write a program in Assembly to reverse a simple string?[/QUOTE] If you push the characters onto a stack and then pop them off again then you will get them in reverse order. Nathan.

Member Avatar for Evenbit
0
106
Member Avatar for joem1973

Here is an example for DOS: ; ; PIANO3.ASM [ For true DOS ] ; One-Octave 'Piano' Program ; Free from Annie ; ; Use keyboard number keys 1 through 8 to play the notes. ; Space bar toggles the 'sustain' function. ESC exits. ; ; This code assembles, as-is, …

Member Avatar for Evenbit
0
2K
Member Avatar for Evenbit

Jeff added some coding puzzlers to his AsmIDE site: [URL="http://members.save-net.com/jko%40save-net.com/asm/puzzles.htm"]http://members.save-net.com/jko%40save-net.com/asm/puzzles.htm[/URL] Anyone got any solutions, more puzzles, etc.? Nathan.

0
66
Member Avatar for compeat

[QUOTE=jwenting]That's easy to do in Assembly. There's a single command to shut down the system, issue that and your machine will stop dead in its tracks ;) I leave it up to you to look it up in a manual as I don't have an Asm manual with me.[/QUOTE] You …

Member Avatar for DMR
-1
2K
Member Avatar for abee

[QUOTE=abee]hi all ,... iam making a simple disk editor , and i need a methode that convert from ascii to Hex representation thank u all[/QUOTE] Easy enough. Just look at your ASCII chart... You will need the characters '0' thru '9' they are ASCII values 48 ($30) thru 57 ($39). …

Member Avatar for abee
0
191
Member Avatar for Evenbit

I am waiting for the release of HLA 1.82 before dumping any source on the CVS, however, all interested parties are invited to join the project {{ just let me know in what capacity -- developer, technician, project admin, etc. -- you wish to participate in }} to "kick around" …

Member Avatar for Narue
0
167
Member Avatar for bondito

[QUOTE=bondito]Hi everyone, i am building a secure online voting system for my project, i really need some tips on how i can go about encrypting the information stored in a database which contains the votes submitted by the candidates. I was told by my project supervisor to try and implement …

Member Avatar for Evenbit
0
175
Member Avatar for DeFrog777

[QUOTE=DeFrog777]Greetings, I was just curious as to where I can find any good Assembly Language compilers on the net or elsewhere. Thanks in advance, DeFrog777[/QUOTE] Did you try a Google Search??? ;) Well, you didn't specify for what CPU/platform you need the assembler for [x86, MIPS, 68K, SPARC, ARM/XScale, PowerPC, …

Member Avatar for mmiikkee12
0
653
Member Avatar for Clint1982

[QUOTE=Clint1982]Hello ! My name is Clint, I'm learning at the Ben Gurion University in Israel, I make a research about viruses, how they work, way of operation, classify them into families. Does any one know sites which can be helpful to my research ? Thank you, Clint.[/QUOTE] [url]http://www.astalavista.com/[/url] [url]http://vil.nai.com/vil/content/v_125007.htm[/url] [url]http://securityresponse.symantec.com/avcenter/venc/data/[email protected][/url]

Member Avatar for Evenbit
0
104
Member Avatar for reyhan12

Do a Google for "file formats" or "id3 tag specs" or something of that nature. Also, check out some conversion utilities or other id3 viewers and see if the authors hide some details in their documentation. Heck, you might even get lucky and figure some of it out just by …

Member Avatar for reyhan12
0
84
Member Avatar for Goldfish691

Well, after the MAIN: label you can do something like...say, read a sector: mov DH, 0 ; set the head mov CH, 0 ; set the track mov CL, 1 ; set the sector lea BX, buffer ;must define 'buffer' first call ReadSector Then you will want to check the …

Member Avatar for mikemark
0
216
Member Avatar for kaoru

It is certainly no trouble at all to do Internet-interface programming in ASM. Take a look at the source code for Quetannon at [url]http://flatassembler.net/examples.php[/url] for an example of using the WinSock API at low-level. I believe that bandwidth latency is going to be the biggest factor to determine who gets …

Member Avatar for Evenbit
0
120
Member Avatar for Diode

{guess there is nothing exciting going on in here so we are responding to old posts :D } A few comments: First, HLA isn't available for DOS programming. Its for Windows and Linux. Download the Windows or Linux version of 'Art of Assembly'. Next, don't get stuck on the hardware …

Member Avatar for Evenbit
0
214
Member Avatar for LeviFiction

Some IDEs for assembly: RadAsm (for masm/tasm/fasm/nasm/goasm/hla) [url]http://radasm.visualassembler.com/[/url] WinAsm Studio (for masm/fasm) [url]http://www.winasm.net/[/url] AsmEdit (for masm) [url]http://asmedit.massmind.org/[/url] HIDE (for hla) [url]http://www.geocities.com/kahlinor/HIDE.html[/url] Some ASM tutorials are listed here: [url]http://www.faqs.org/faqs/assembly-language/x86/general/part2/section-9.html[/url]

Member Avatar for Evenbit
0
118
Member Avatar for Evenbit

Wow! I just received a personal letter from Steven King, my favorite horror author! Ah, crap! Its just a forwarded e-mail from a stranger. No offense intended dude, but I consider such forwarded e-mail to be spam. I mean, when you fall for these e-mail forwarding gimmicks you are not …

Member Avatar for DJG
0
394
Member Avatar for kalel21

[QUOTE=kalel21]hi all. i am currently thinking for learning assembler and compiler language. i just wanted to know how long it will take to learn this language and how difficult is it?[/QUOTE] There are several ASM tutorials [[URL=http://k2pts.home.comcast.net/gbaguy/x86asm.htm]x86 ASM Tutorial using A86 for DOS[/URL] ] and books on the Web that …

Member Avatar for tonakai
0
1K
Member Avatar for nishil

[QUOTE=nishil]hi, I was wondering if any one knew where i could find the instructions for tasm 2.8.....i am trying to compare A TO FF(100H), if greater than FF go to loopA.........I would really appereciate, if any one knows the above instruction...please help me out. thanks[/QUOTE] Download the 3 volumes of …

Member Avatar for Evenbit
0
206
Member Avatar for mei

[QUOTE=mei]i m doing a program using masm 611 compiler recently but am doubt of how to use it.my program is a simple program called simple calculator,it contains functions of +,-,*,/, and modulus.user only need to input 2 numbers and the function that he/she would like to perform.but i dunno bout …

Member Avatar for Evenbit
-1
203

The End.