Ubuntu :: How To Choose To Write In Assembly On Gedit
Apr 8, 2010how do i choose to write in assembly on Gedit? is it "Makefile"? i'm writing for ai386
View 5 Replieshow do i choose to write in assembly on Gedit? is it "Makefile"? i'm writing for ai386
View 5 RepliesI was extraction some file through command line then I encounter on notification from winrar. This file exist what u want to do
replace
never
quite
I don't want that winrar will prompt me to choose action. Everytime whenever this situation occur it will overwrite / skip that file
Syntax I am using for unrar
rar e -pmypassword filename
I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to
cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg
1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg
I set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?
View 3 Replies View Relatedi am new to programming world and am trying to understand ARM core. I need an application to help me understand / train assembly language. If anyone knows a good application for this
View 9 Replies View RelatedI have a C code and assembly (nasm) code and I am not able to find how to link them each other. Here are the codes :
NASM side:
Code:
global_maxofthree
section .text
_maxofthree:
[code]....
I am using ubuntu 9.10 and my NASM version 2.05.01 compiled on Nov 5 2008.
Could you please explain the relationship between the languages?For one, is C writing assembly when you compile, does every piece of code end up assembly/hex? Is there a way to convert (?port?) between them?I don't understand much at all of them yet, but I've seen examples where it looks like they are interacting, and an understanding of all of them looks to be important?
View 12 Replies View RelatedI'm searched through the forums and I saw some older posts but the solutions don't seem to work in Lucid. I'm trying to run yWriter5 on my netbook (I love this app) and wine doesn't run it, it requires mono. However, when I try to run it, I get an error:
'The assembly mscorlib.dll was not found or could not be loaded.' 'It should have b
i wanna use chmod() in linux x86 [debian 3.7.2 x86] but i have some problem in function argv
look at this function:
Code: Select all int chmod(const char *path, mode_t mode);
and mode_t modes:
Code: Select all S_ISUID (04000) set-user-ID (set process effective user ID on
execve(2))
S_ISGID (02000) set-group-ID (set process effective group ID on
execve(2); mandatory locking, as described in
fcntl(2); take a new file's group from parent direcق
tory, as described in chown(2) and mkdir(2))
[code]...
i know there is some problem in ecx and mode_t value/
Looking for code to add 5 numbers in assembly? I want to use array for input of those 5 numbers. No problem if the output is 1 digit(0....9).
View 3 Replies View RelatedI've been converting some C code to assembly for my homework; it was going well but I'm having trouble with a for loop for hours. I could not understand where is the problem and decided to ask. I'm posting the part where I'm having trouble of my C-code and assembly-code; every other part of codes act same and the variable values are same. I'm waiting this two codes to act same, but they don't.
Code:
mov ebx, [result]
mov eax, [i]
mov ecx, [ebx+eax]
mov [j], ecx
mov [ebx+eax], byte '.'
_loop:
mov ebx, [result]
mov eax, [i]
inc eax
mov cl, [ebx+eax]
cmp cl, 'Z'
je _continue
mov ebx,[result]
mov eax,[i]
inc eax
mov ecx, [ebx+eax]
mov [k], ecx
mov ebx, [result]
mov eax, [i]
inc eax
mov ecx, [j]
mov [ebx+eax], ecx
mov ecx, [k]
mov [j], ecx
inc dword [i]
jmp _loop
_continue:
Code:
j=result[i];
result[i]='.';
for(;result[i+1]!='Z';i++){
k=result[i+1];
result[i+1]=j;
j=k;
}
I have a small doubt regarding Assembly file compilation. I have two .s files. When I compile two .s files I am getting corresponding .o files. But when I compare the both .o files with diff command, it is resulting that two files are differing. How could/ what are commands we should use to understand the difference between two .o file's output.
View 4 Replies View Relatedhow to compile assembly code in linux? I am using AMD processor code instructions...is that amd registers inbuilt? with what file extension i should give while writing assembly code program?
View 14 Replies View RelatedI'm reading "Understanding the Linux Kernel" and came upon this assembly instruction:
movl $(__KERNEL_CS << 16), %eax
I am curious as to what "<<" means/does. I tried to gooogle, but google doesn't search for "<<".
Does anybody know if there is a pre-packaged compiler for assembly language in x86_64 for Fedora for the Motorola/Freescale 68hc11? The GNU binutils are pretty old for this and I am not sure if they work on the Freescale (new) version. I, also, don't think that they are on Fedora's repositories.
View 1 Replies View Related/tmp/cctiuwxL.s: Assembler messages:
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3602: Error: unknown opcode
[code]....
This is the make step error./tmp/cctiuwxL.s is the make temporary dirictory which is distroyed after the make process finises . The problem is how can I hold the /tmp/cctiuwxL.s dirictory .Then I can check it and find out the proiblem.
[Code]....
if the address of stWndClass is 403000h, WHY it would be compile as mov eax,[esi+403004] and the first one would be mov eax,[esi+4]? I know how to get the values 403004h and 4,but do not know why.
I have read where C is first converted to Assembly before its final compilation to binary. Is there a way to do this with Bash commands? I would like the understanding that Assembly allows to Bash somehow.
View 14 Replies View RelatedI 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
[code].....
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.
I am trying to run a .NET program with mono. I got the following:
Code:
Parser Error Message: Assembly ActiveReports.HtmlExport, Version=3.3.0.1999, Culture=neutral, PublicKeyToken=cc4967777c49a3ff not found
This means it requires ActiveReports, but could not find any Linux version of that software. So, is there any Linux alternative for it?
My system is Debian/sid (unstable).
I was following a simple tutorial on how to program and compile a hello world program using assembly when I got this error;Quote:ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 output.The tutorial told me to make two files;Quote:hello.asmsection .data;section declaration
msg db "Hello, world!",0xa;our dear string
len equ $ - msg ;length of our dear string
section .text;section declaration
[code]....
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies View RelatedIve installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies View RelatedI can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files
View 1 Replies View RelatedI have just added an additional 1 tb drive to my system. Before I upgrade to 10.04 which should i choose to put my /home folder on and which should contain my sytem files and backup folder:
1. 1 TB 16 mb cache; or
2. 1 TB 64 mb cache
Also should I format the drive ext4 or ext3?
If I install "kde standard" form synaptic package manager, i will be able to choose kde at login. Is my understanding of this correct?
View 2 Replies View RelatedI am a new ubuntu user. Some problems about GRUB.
My pc:
Intel core i7 3.06 GHZ
Gıgabyte X58A-UD3R
9500GT
1 TB SATA2
4GB RAM
I HAVE A BIG PROBLEM. Starting from the beginnig. I installed Win7 Ultimate to my pc first. registered and updated bla bla.. then I divided into 3 partitions.
[Code]...
If I insert an Audio CD into my CD/DVD Writer, I cannot choose an application. So I launched Nautilus and chose Edit>Preferences>Media. Here's the problem. All options under Media Handling are grayed out and show "No application found" except for Software.Why can I not select any applications for CD Audio, DVD Video, Music Player, or Photos?I use Ubuntu 10.10 x64.
View 9 Replies View Related