Programming :: Convert Code From MASM To NASM

Jul 2, 2010

convert the following code from MASM to NASM


View 8 Replies


Programming :: Debugging Nasm Source Code ?

Dec 5, 2010

I found on the Internet a rough suggestion to debug code which says to add a line:

An example shows this lists the lines of source that do work.

I do not know where these lines are supposed to go and whether the "notdeadyet" should be a call to a subroutine or what. I only found that "%define" is used to link to external files, so I am confused because what I tried did not work.

(I am unable to use (and learn) any debugging tool for another few weeks and I'd like to progress on this If I can.)

View 2 Replies View Related

Programming :: NASM Compiling With An IDE?

Sep 21, 2010

I am searching for the IDE that can compile and debug a NASM code. I am using ubuntu 10.04 and I can make compile via terminal but I must view registers for educational purposes.

View 4 Replies View Related

Programming :: Traverse Byte Array In Assembly Using Nasm As Assembler?

Jun 16, 2010

I am trying to learn assembly using nasm as assembler. I did not found example related to string operation. I had following example code,

global asm_strlen
section .data
section .bss
section .text


my problem is at highlighted line, I am not getting how to copy a byte into 4 byte reg. rather what is syntax of mov instruction to mov byte to WORD DWORD etc.

View 3 Replies View Related

Programming :: Write A Simple Character Printing Program Using NASM?

Jul 27, 2010

i tried a code to accept a character and print the same ! i can accept it with following code but its not working with printing that character i use NASM version 2.07


segment .data
msg1: db 'Enter a key',10
msg1len: equ $-msg1


View 3 Replies View Related

Programming :: Selenium Java Code Into Equivalent Php Code?

Mar 30, 2011

I need to rewrite the selenium java code into its equivalent php code.

View 5 Replies View Related

General :: Tool To Convert My Whole Java Code To C / C++?

Aug 6, 2010

As a part of my project I have to write the code from scratch in c/c++ but I already have a full blown Java code available with me. Is there any tool that can do the same.

View 10 Replies View Related

Software :: Convert Jffs2 Image To C Source Code?

Feb 16, 2011

I am trying to find a way to get/read the C source code from a JFFS2 image file. All I have is the jffs2 file and nothing else. I was looking for some kind of converter or reader that would allow me to do this. I know very little about Linux. I need to give the source code to a developer to save time on a new version/redevelopment of the original application.

View 3 Replies View Related

Software :: Program To Convert C Source Code To Flowchart?

Jul 12, 2010

I've read the threads here and on other forums and searched the web but haven't found a program to fit my desires.

I want to take some existing C source code that is both undocumented and uncommented (definitely not mine)and convert it into a flowchart or other format that is more easily understood.

I've run across many programs of this type for winblows but I don't want that OS on my system regardless of price!

View 2 Replies View Related

Ubuntu :: Convert Webpages Containing Javascript And Html Code Into A Flowchart?

Mar 31, 2010

free program that can convert my webpages containing javascript and html code into a flowchart. also i dont mind if the program works on either windows or ubuntu as i have both.

View 1 Replies View Related

Ubuntu :: Sudo Apt-get Install Nasm?

Jun 18, 2010

trying to install nasm in Ubuntu10.04 Desktop when I use the command nasm, I get the following The program 'nasm' is currently not installed. You can install it by typing: sudo apt-get install nasm

So naturally, I enter it as follows: ~$ sudo apt-get install nasm And then I get the following output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nasm

View 2 Replies View Related

General :: Windows User Trying To Open NASM ?

Nov 10, 2010

I am accustomed to Windows, and I am inexperienced with Linux. What I am trying to do is open NASM in Linux Mint. After several (poorly made) attempts at finding binaries on the hard drive that might open NASM, I have concluded that the problem is my own inexperience.

I have installed NASM using Synaptic in hopes that I might learn x86 assembly, and I am using Linux as that is the OS that is used in the book I am using to teach myself. Unfortunately, as I have stated, I cannot even figure out how to open NASM, and thus I cannot test what I have learned.

View 14 Replies View Related

Programming :: Convert The Int To A String Using Stringstream Then Convert The String To A Char?

Mar 26, 2011

Do I have the convert the int to a string using stringstream then convert the string to a char? or is there a more direct way?Also is there a way to tell the length of a int?

View 5 Replies View Related

Programming :: Convert Xls To Csv Using Php?

Apr 26, 2011

I want to load data into mysql database,I am having a xls file want to convert it into csv file to do it.I am running the script on apache server,was able to convert and I could see the output file,when I execute the php script in command line,but when I run it on the browser the file is not saved..??? .Whether something has to be configured on apache

View 1 Replies View Related

Programming :: Use SSE(2,3) In C/C++ Code?

Jun 6, 2011

I am working on a project with a lot of vector math and I'd like to find a way to speed it up.eading about SSE, but I've found no explanation on how to actually use it in code (was looking for some kind of hello-world example, complete with compilation instructions).Does the gcc compiler automatically make use of SSE, if you add the -sse(2,3) option on the command line? Or are their specific functions/libraries you need to call?

View 12 Replies View Related

Programming :: Convert Map From Python 2.x To 3.x

Apr 6, 2010

I have an existing line of code from a P2 script that I cannot find a solution to converting to P3:

for i, x in map(None, list1, list2):
I have found the information about converting the simple case:
map(None,x) becomes list(x)

But my googling was unable to find a solution when more than one iterable exists.

View 2 Replies View Related

Programming :: Convert String To Int ?

Jul 6, 2010

Iam trying to check a value less than or equals 0.The value iam getting is after doing grep a file . but its throwing error .


When i execute this it throws


View 8 Replies View Related

Programming :: Convert Urb To Skbuff?

Nov 30, 2010

I am trying to write a kernel module which is the combination of the usb driver and a network driver, now whenever the data is recieved by the usb driver it will be in struct urb, but the data that is required by the net driver is sk_buff, now how do i convert a urb to sk_buff, i found something similar is being done in the phonet protocol, but i couldnt understand, howexactly this is being done. Can someone explain this code.

static void rx_complete(struct urb *req)
struct net_device *dev = req->context;
struct usbpn_dev *pnd = netdev_priv(dev);


View 1 Replies View Related

Programming :: How To Convert DLL To SO File

Jul 27, 2010

I have the source code for the dll file, and I want to convert it to .so file.the dll file has declared some functions like this in the .c file
declspec (dllexport) etc.
I want to use this program in linux(open suse). How to do it? Is it through Wine? Then how to do it exactly.

View 1 Replies View Related

Programming :: Code That Will Never Execute

May 23, 2011

Is there, by chance, a fancy name to describe code that must be in a program but will never be executed? In one of my (Haskell) programs, I have some error-handling code that must be in the program to keep the compiler happy (due to the type checking). However I know that, due to the logical structure of the program, it is impossible for the code to be evaluated. I am curious if there is a technical name given to code that must exist but cannot be executed.

View 6 Replies View Related

Programming :: GLX Code Won't Run Anymore?

Jan 14, 2011

I went to compile some "oldish" glx code. The code compiles great but when I go to run it I get a crash. With X Error of failed request: BadMatch (in .....running ddd causes my whole system to lock up when I call the glx function XOpenDisplay. After a few attempts I thought I'd download a demo from the net, I choose nehe opengl tutorial 2, I compiled and ran but even on a net tutorial I get the same error

XF86VidModeExtension-Version 2.2
Got Doublebuffered Visual!


View 1 Replies View Related

Programming :: Translating Code To OSX?

Jul 20, 2011

I have the following code:

function dx {


So essentially, it finds dx files, sorts them by numbers at the beginning, then performs the dx function I made (loops over all of the #-protein.dx and #-water.dx files).

It works fine when I'm running it on Ubuntu 11.04. However, when I try to run it on OSX, I get the following error:

mh320m01:DA_R02 janickij$ ./
find: illegal option -- t
find: illegal option -- y


View 9 Replies View Related

Programming :: How To Share Code With Others

Jan 5, 2010

I work as a linux sysadmin, and are now and then developing scripts that might be of use for others. I'd like to be able to share these, and for less trivial projects maybe create a central repository or something that others may upload updates/patches to etc.

View 10 Replies View Related

Programming :: How To Combine ASM And C Code

Apr 10, 2010

I have a little test program consisting of a NASM source file and a C source file.How do I turn them into a single program?

section .data
msg db 'Hello, World!', 10


View 14 Replies View Related

Programming :: Three Lines Of Code - What Do They Actually Mean

Feb 23, 2011

whichever source code I go through I find these three lines of code written what do they actually mean and what is their function?


View 6 Replies View Related

Programming :: Convert String To Int Array?

May 9, 2010

I've searched around and can't find out how to convert a string ( like "12345" ) into an int array ( x[ 5 ] = { 1, 2, 3, 4, 5 } ; ).

View 4 Replies View Related

Programming :: Convert Gigabyte To Byte?

Nov 24, 2010

I'm learning C and trying to write a program to convert gigabyte into byte. It will take 50% of the value given and then convert that value into byte. But the problem is the output goes into minus / negative value. Like, if I enter 22, I get output: -2147483648.


#include <stdio.h>
#include <math.h>
main (int argc, char* argv[])


View 5 Replies View Related

Programming :: Convert Awk Alternative In C Program?

Jan 14, 2010

I wrote a bash script a few months ago and now I want to convert it to a C program. However, i used awk a lot in my script, and I don't know what to use in place of awk. The awk calls are simple, like string splitting and math, but I don't know of any replacement for the string splitting function. Are there any C libraries that include some sort of string splitting function?

View 4 Replies View Related

Programming :: Convert Some .flac Files Into .mp3?

Jun 20, 2011

I need to convert some .flac files into .mp3.

I found this script:

[ -r "$FLAC" ] || { echo can not read file "$FLAC" >&1 ; exit 1 ; } ;
metaflac --export-tags-to=- "$FLAC" | sed 's/=(.*)/="1"/' >tmp.tmp


And I need it to run it from outside of a directory for several directories.

I need to run it from /dir for /dir/dire*

View 4 Replies View Related

Programming :: Done To Convert Html Pages To Pdf ?

Jan 1, 2011

Im new to linux Iam pursuing bachelors in computer science engineering.... my final year project is to develop a "html to pdf converter using linux"... i have some basic knowledge of commands used in unix

1) Where can i get the basic idea about the existing converters... their pros and cons...
.... programming...

2) Any kind of material or source where i can get basic idea of programming used for converting html pages that are linked into a single pdf..

View 1 Replies View Related

Copyrights 2005-15, All rights reserved