Posts
 
Reputation
Joined
Last Seen
Ranked #472
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
93% Quality Score
Upvotes Received
21
Posts with Upvotes
15
Upvoting Members
17
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
8 Commented Posts

98 Posted Topics

Member Avatar for rsu

[QUOTE=rsu;433522]i have installed nasm in ubuntu in linux but dont know how to and where to write code of assembly language and run my code please give me information as soon as possible.[/QUOTE] Using the menu at the top of the screen, go to Applications > Accessories and select "Text …

Member Avatar for yahya_3
0
6K
Member Avatar for Narue

[QUOTE=Narue;197884]Just for fun, I wrote up a quick tutorial for basic assembly. At present, it's only in the form of a PDF document, but I'll eventually get around to adding it to my website.[/QUOTE] Just a couple of quick notes: o You might want to talk about the structure of …

Member Avatar for The Old Man
19
2K
Member Avatar for Evenbit

It is about time we start building a Sticky in this forum listing some resources so the newbies will have an easier time finding the information they need. I will start with these valuable links: x86 Assembly Language FAQs Wikipedia: Assembly Language Wikipedia: List of assemblers Links at Webster MASM …

Member Avatar for pbj.codez
3
2K
Member Avatar for Gink

Well, you can assemble your code in memory and run it from there...a perfect place to start for small DOS programs...you probably already have the tool (Debug), just need the tutorial: [url]http://www.datainstitute.com/debug1.htm[/url] The IO.H file that your book wants is just assembly code for handling the input/output functions so you …

Member Avatar for deboflo
0
650
Member Avatar for faith07

[QUOTE=mytime19;324019]well i think you can't use much C lang stuff with tasm.. the reason is that it uses DOS and you know that it can only program 16 bit stuff not 32-bit.. so i got the same problem but just upgraded to masm.. there's inbuilt libraries available in that. or …

Member Avatar for neha afreen
0
1K
Member Avatar for Evenbit

It is my understanding that with over 115,000 signed-up, it constitutes the largest MOOC [ [url]http://en.wikipedia.org/wiki/Massive_open_online_course[/url] ] ever. Certainly an historical experiment with possible future changes in delivery of University-level education: [url]http://www.reddit.com/r/aiclass/comments/kp1wb/amazing_we_can_probably_offer_a_masters_degree_of/[/url] I've decided to take the Basic track so that I only take the quizzes, but get to miss …

Member Avatar for cwarn23
0
244
Member Avatar for silvercats

[url]http://homepage.mac.com/randyhyde/webster.cs.ucr.edu/www.artofasm.com/Windows/HTML/AoATOC.html[/url] Scroll down that page to the "Volumn 2" section. Gives lots of information about the architecture side. Also, research Compilers, Linkers, and Loaders -- lots of learning involved in that. These should be a good start: [url]http://www.diku.dk/hjemmesider/ansatte/torbenm/Basics/[/url] [url]http://en.wikipedia.org/wiki/Compiler[/url] And this should give you a start on conceptualizing what an …

Member Avatar for silvercats
0
227
Member Avatar for zaiboot

Some links and other resources that might help you newbies... Lot of links at assemblylanguage.net: [url]http://www.cheapersunglasses.com//asm.html[/url] More links at the Open Directory Project: [url]http://dmoz.org/Computers/Programming/Languages/Assembly/[/url] - ASSEMBLERS - MASM32 [url]http://www.movsd.com[/url] NASM: The Netwide Assembler [url]http://nasm.sourceforge.net[/url] HLA: High Level Assembly Language [url]http://webster.cs.ucr.edu/AsmTools/HLA/index.html[/url] FASM: The Flat Assembler [url]http://flatassembler.net/[/url] GoAsm [url]http://www.godevtool.com/[/url] A86 (DOS) [Free]/A386 …

Member Avatar for Triggerlife
0
3K
Member Avatar for ddanbe

At one time (not sure if they're still in the current version), Randall Hyde had highly-efficient 'Roman Numeral' output/conversion functions in the Standard Library for his HLA compiler. You might find it interesting to dig through his source. [url]http://hla-stdlib.svn.sourceforge.net/viewvc/hla-stdlib/[/url] [url]http://hla-stdlib.sourceforge.net/[/url]

Member Avatar for gracefull
0
1K
Member Avatar for prajesh2

Use GIMP. These tutorials: [url]http://www.makeuseof.com/tech-fun/search/?cx=009717636731598800244%3Aqhe4rh7wuxs&cof=FORID%3A11&q=gimp&sa=%C2%A0#1260[/url] It certainly runs circles around Photoshop.

Member Avatar for adam70
0
164
Member Avatar for pjh1985

Your test page must also have 'session_start()' at the top before any output. For compatibility with old versions of IE, you'll also want to add the P3P header. [I]index.php[/I][CODE]<?php header('P3P CP="CAO PSA OUR"'); session_start(); $_SESSION['gallery'] = 42; ?> <!DOCTYPE html> <html> <h1>Setting cookie!</h1> <a href="/test.php">test</a><br> <html>[/CODE] [I]test.php[/I][CODE]<?php header('P3P CP="CAO PSA …

Member Avatar for decade
0
267
Member Avatar for Evenbit

You can test your connection here: [url]http://ipv6test.google.com/[/url] Apparently, Wednesday, June 8th is "World IPv6 Day" when major websites and CDNs will be sending their content over IPv6. For instance, if you cannot connect to Google on that day, you will need to surf to [url]http://ipv4.google.com[/url] to do your searches. My …

Member Avatar for skilly
1
228
Member Avatar for AJ_Allmendinger

[QUOTE=AJ_Allmendinger]I'm a newbie at writing DOS batch files. I've tried to look for it, but I can't seem to figure out how to read from an input file. Is there an equivalent of a [I]cin[/I] statement in DOS Batch programming.[/QUOTE] Some people have figured out how to do quite a …

Member Avatar for Dundir
0
302
Member Avatar for hudasntpay

While you are at it, you might as well spray some bullets toward the other types of malware (spyware, trojans, etc.) since this would be an easy feature to add: startup files [url]http://www.lafn.org/webconnect/mentor/startup/PENINDEX.HTM[/url] trojans [url]http://www.megasecurity.org/files_all.html[/url]

Member Avatar for MosaicFuneral
0
235
Member Avatar for outpost

Something to the effect of... LEFT CLICK on the upper-left corner of the window... on the pop-up menu, select Properties... on the dialog, CLICK the Screen tab... CLICK the "Full-screen" radio button... "Apply" button.... "OK" button... that is it...

Member Avatar for LarryBrown
0
167
Member Avatar for ivanCeras

[QUOTE=Narue] <<snip>> A .exe file is actually a file format called PE (Portable Executable). [/QUOTE] Not necessarily! ".exe" files were very common under DOS for applications. The ".com" files were mainly used for small utilites and simple commands because they were limited to a small memory footprint [code + data …

Member Avatar for NotNull
0
2K
Member Avatar for assembler

You can find tutorials and examples here: The Operating System Resource Center [url]http://www.nondot.org/sabre/os/articles[/url] OS FAQ Wiki [url]http://www.osdev.org/osfaq2/[/url] Nathan.

Member Avatar for peter_budo
0
289
Member Avatar for ushineon

I believe that it really doesn't matter what language you learn because your skills are easily transferable. The major difference between languages is syntax, so once you understand the syntax of a new language, you can start programming in it with ease. After you have learned a few languages, they …

Member Avatar for jwenting
0
215
Member Avatar for fmartins
Member Avatar for kire

One option you can try is to write a script that launches QBasic and loads/runs your program. Check out AutoIt. It will compile to an EXE. Something like the following should work: $ret = runwait("qbasic yourprg.bas", ... , ... )

Member Avatar for Adak
0
922
Member Avatar for jephthah

I happen to have a good memory for odd things, so, in the interest of holiday fun, allow me to add another log onto this conspiracy fire. Clever use of the Wayback Machine netted me this pseudo-confession: "I also enjoy studying interpersonal relations among online personalities, which is probably why …

Member Avatar for jephthah
3
681
Member Avatar for Evenbit

This exercise is designed to get you familiar with the Ubuntu command-line editing features. It also introduces you to the concept of command-line history. [B]Follow these steps[/B] [LIST=1] [*]Type the words "We all love Ubuntu" (without the quotation marks) but do not press Enter. [*]Press the left arrow key to …

Member Avatar for peptidebond
1
224
Member Avatar for Evenbit

[i]Taking the "fright" out of Opcodes and Hex-numbers.[/i] High Level Assembly (HLA) is a modern [b]assembler[/b] + [b]standard library[/b] package that allows a programmer to ease his way toward ASM coding by leveraging concepts already learned from typical high-level languages. By using HLA, one can investigate and play with a …

Member Avatar for borland7
0
359
Member Avatar for nateuni

[QUOTE=nateuni;1042622]Hi, I am just finishing up a semester at Uni that touched on Assembly with the LC-3 (Limited to around 16 instructions). I would like to look more into assembly. Specifically getting a better grasp on assembly opcodes (their purpose), and how they map to HL processes. As opcodes like …

Member Avatar for Evenbit
0
136
Member Avatar for urbancalli
Member Avatar for NotNull

Yes, DWORD alignment is always preferred. But check with the standard literature on optimization: [url]http://www.agner.org/optimize/[/url]

Member Avatar for Evenbit
0
156
Member Avatar for Ronen444
Member Avatar for The Mad Hatter

Just a quick note about this "unaurthaurised distribution" of a protected product: Microsoft [b]has[/b] provided an authorized download (including a valid install key) of its OSs in certain instances. For instance, for enterprise clients who purchase licenses in bulk, they provided a CD ISO of Windows XP at their website …

Member Avatar for Evenbit
-5
2K
Member Avatar for tifka

[QUOTE=tifka;454146]Well yea, So I try to do like [code] mov ah,01h int 16h [/code] Shouldn't that let the user in put whatever he/she wants?[/QUOTE] That is a DOS system call... it will only work on Linux if you are running a DOS emulator. Nothing wrong with that, but since you …

Member Avatar for Goalatio
0
316
Member Avatar for Evenbit

[CODE]Using 'common sense' to clear the Microsoft fog of illusion.[/CODE] [[ ...Continued from previous post [url]http://www.daniweb.com/blogs/entry1527.html[/url] ]] 4. Unable to comprehend security issues. Even when the United States government warns people to avoid using specific software for personal security reasons, the Microsoft sheep act like they don't understand the reasons. …

Member Avatar for Evenbit
0
128
Member Avatar for Evenbit

[CODE]Addressing some of the typical arguments we hear from the "Microsoft fanboy" crowd.[/CODE] One can debate until you turn blue in the face. It never fails that *some* concepts and facts just fly right over the heads of *some* people. But when the person doing the arguing is supposedly well-educated …

Member Avatar for Evenbit
0
115
Member Avatar for mattb0611

[QUOTE]to help one's neighbor by distributing copies as he wishes, and finally to distribute modified code as he wishes.[/QUOTE] Do you ever do any research on the subject of your blog posts? The GPL license applies specific *restrictions* to how one may distribute the software. [url]http://www.gnu.org/copyleft/gpl.html[/url]

Member Avatar for MattEvans
0
361
Member Avatar for tomtetlaw

Which gcc port are you using? If it is cygwin, then that might be your problem. Try MingW -- I've always had success with it. [url]http://www.mingw.org/[/url]

Member Avatar for tomtetlaw
0
166
Member Avatar for kindnumbernine

An alternative is to use the Alink downloads: [url]http://alink.sourceforge.net/download.html[/url] [CODE]; To assemble: nasm -f obj hw.asm ; To link: alink -oPE hw .obj win32.lib extern MessageBoxA extern ExitProcess segment .data USE32 title db 'My First Win32 ASM Program', 0 message db 'Hello, World!', 0 segment .text USE32 ..start push dword …

Member Avatar for kindnumbernine
0
497
Member Avatar for nuliknol

Here is a wonderful resource to help you understand the proper use of FPU instructions: [url]http://webster.cs.ucr.edu/AoA/Windows/HTML/RealArithmetic.html#998833[/url]

Member Avatar for nuliknol
0
163
Member Avatar for nuliknol

For 64-bit specific information, look here: [url]http://www.turboirc.com/asm/[/url] [url]http://www.vikaskumar.org/wiki/index.php?title=X86-64_Tutorial[/url] [url]http://www.x86-64.org/[/url] [url]http://www.viva64.com/links/64-bit-development/[/url]

Member Avatar for Evenbit
0
345
Member Avatar for nuliknol

Well, clock cycles certainly [b]do not[/b] equate to execution time on modern processors. But, if you still think you need to know this information, then go directly to the source: [url]http://www.intel.com/design/corei7/documentation.htm[/url] [url]http://www.intel.com/products/processor/manuals/index.htm[/url] Those are free downloads!

Member Avatar for nuliknol
0
144
Member Avatar for Chizl

Microsoft has good C code with excellent descriptions at its Win32 API reference library: [url]http://msdn.microsoft.com/en-us/library/aa373078(VS.85).aspx[/url] Click on the "Performance Counters Functions" category. Calling the Windows API functions from assembly language is a bit more work than doing it in either C or C++, but it certainly isn't impossible and modern …

Member Avatar for Evenbit
0
214
Member Avatar for eniwe

To write text to the console, first use GetStdHandle: [url]http://msdn.microsoft.com/en-us/library/ms683231(VS.85).aspx[/url] Use that to get the handle for the StdOut device. Then you can use this handle in a call to WriteFile: [url]http://msdn.microsoft.com/en-us/library/aa365747(VS.85).aspx[/url] There are some tutotials and examples: [url]http://www.deinmeister.de/wasmtute.htm[/url] [url]http://win32assembly.online.fr/index.html[/url]

Member Avatar for eniwe
0
138
Member Avatar for urstez

[url]http://www.viva64.com/links/64-bit-development/[/url] [url]http://www.vikaskumar.org/wiki/index.php?title=X86-64_Tutorial[/url] [url]http://msdn.microsoft.com/en-us/library/ms794533.aspx[/url] [url]http://www.x86-64.org/[/url] [url]http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_869_875[/url]... [url]http://www.intel.com/products/processor/manuals/index.htm[/url]

Member Avatar for Evenbit
0
196
Member Avatar for loudstil

[QUOTE=loudstil;770662]Hi to all, I wrote a code, and it gives me divide overflow, but the issue here is that when I run the program trough the debugger it works fine, but when I run the program in the dos mode it gives me Divide overflow error. here the code: tnx[/QUOTE] …

Member Avatar for loudstil
0
155
Member Avatar for jt_murphree

You will need to tweak 'termios' to get non-buffered input to work. Read this thread for code and discussion of the issue: [url]http://sourceforge.net/mailarchive/forum.php?thread_name=814462.63171.qm%40web65510.mail.ac4.yahoo.com&forum_name=hla-stdlib-talk[/url] Nathan.

Member Avatar for jt_murphree
0
1K
Member Avatar for orwell84

There is a nice tutorial in this thread: [url]http://www.daniweb.com/forums/thread41309.html[/url] For 64-bit, you'll find resources (and Linux examples) here: [url]http://www.vikaskumar.org/wiki/index.php?title=X86-64_Tutorial[/url] Windows examples here: [url]http://groups.google.com/group/alt.lang.asm/browse_frm/thread/da219540368d7587/0866bdd1d5f508a3[/url] Nathan.

Member Avatar for Evenbit
0
152
Member Avatar for jenymaru08

These tutorials will show you how: [url]http://win32assembly.online.fr/tutorials.html[/url]

Member Avatar for Evenbit
0
79
Member Avatar for serkan sendur

[b]Some Assemblers that have 64-bit support:[/b] FASM [url]http://flatassembler.net/[/url] NASM [url]http://www.nasm.us/[/url] YASM [url]http://www.tortall.net/projects/yasm/[/url] Poasm (an offshoot of Pelle's C Compiler) [url]http://www.masm32.com/board/index.php?PHPSESSID=3414441112dc1a8d61ea22ed1e202d90&board=42.0[/url] [b]Some IDEs to try:[/b] Eclipse [url]http://www.eclipse.org/[/url] Bloodshed [url]http://www.bloodshed.net/[/url] SciTE [url]http://www.scintilla.org/SciTE.html[/url] For more information, look at this thread: [url]http://www.daniweb.com/forums/thread67183.html[/url] Nathan.

Member Avatar for Evenbit
0
139
Member Avatar for raghu2383

Some resources and existing code to learn from: [url]http://asm.sourceforge.net/[/url] [note: the AsmUtils package has not been updated for years, so some of those examples will not work on modern kernels] [url]http://linuxasmtools.net/[/url] Hope that helps. Nathan.

Member Avatar for raghu2383
0
183
Member Avatar for Evenbit

It's a FizzBuzz question designed to "separate the men from the boys", so don't cheat. :) Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are …

Member Avatar for Evenbit
0
212
Member Avatar for Lilith24

Some suggested reading material: [url]http://www.drpaulcarter.com/pcasm/[/url] [url]http://www.kipirvine.com/asm/[/url] [url]http://savannah.nongnu.org/projects/pgubook[/url] [url]http://webster.cs.ucr.edu/AoA/index.html[/url] Nathan.

Member Avatar for Evenbit
0
101
Member Avatar for Douglas B

An application programmer doesn't use interrupt (int) calls in Windows. Instead, one makes a call to a function in one of the DLLs supplied by the system. The reference for these functions can be found here: [url]http://msdn.microsoft.com/en-us/library/aa383749.aspx[/url] It is a good idea to study the Iczelion tutorials first: [url]http://win32assembly.online.fr/tutorials.html[/url] Nasm …

Member Avatar for Douglas B
0
403
Member Avatar for Evenbit

Here is a nice "cheat sheet" for getting "up and running" quickly: [url]http://freeengineer.org/learnUNIXin10minutes.html[/url]

Member Avatar for slacke
0
164

The End.