Programming :: Initializing The SS Register (Intel Architecture)?

Jul 9, 2011

Kernel, slackware 12.0 as 2.17 [I am speaking here about 80x86 processors, with their segment registers SS, DS, CS, ES.] In a source file for as, I wrote


.section _STACK
.rept 4096
.word 0

Now, in the .text section, I want to initialize SS, the stack segment, to point to the _STACK section. In other assemblers, there was a special section for the stack, and the linker cared about initializing SS. Here I use a common section for the stack. For a segment such as DS, I could write

mov ax,_DATA
mov ds,ax

But I don't think mov ax,_STACK would do with as/ do I initialize SS?

View 4 Replies


Hardware :: 32 Or 64 Bit - Which Architecture To Use With An Intel Core 2 Duo Processor

Mar 28, 2010

Which architecture to use with an Intel Core 2 Duo processor?

View 3 Replies View Related

General :: Debian 5.0 For Intel X86 Architecture Means 32 Bit OS?

Feb 22, 2010

I've just finished installing debian 5.0.3 on my pc and i chose the installation set for the Intel x86 architecture. Does it mean that my OS is then 32 bit and will be used to run only 32 bits applications ? I'm doing also software developments with gcc with my linux box. Using this os and the gcc tools, for this os, will my software only be 32 bits ?

View 1 Replies View Related

Debian :: Architecture For Intel Pentium D Dual Core?

Mar 8, 2010

I'm a Linux Mint user, but I'd like to cross over to Debian. I used the x86 architecture for the Mint install, but I couldn't find that anywhere on the Debian site. what the architecture for the Intel Pentium D dual core is?

View 2 Replies View Related

Programming :: Initializing A Structure To Zero?

Nov 20, 2009

I have a struct (small instance so not using code brackets )

struct random {
int a;
int b;

What i am trying is


and it gives an error how to initialize all the entries within a struct to zero? In the above example i have used integers but what if they are some other data structure for example another structure?

View 2 Replies View Related

Programming :: Initializing A Variable In C?

Nov 5, 2010

Following is the way I saw a variable initialized in C


static const unsigned int rtl8139_rx_config =
RxCfgRcv64K |
(RX_DMA_BURST << RxCfgDMAShift);

on following link


I have initialized variables in past but above initialization I could not understand what is it?

View 4 Replies View Related

Programming :: Semaphore Used Without The Initializing?

Nov 4, 2010

I am using semaphore.h I declared a variable of type sem_t. I am able to use the variable without even calling sem_init or sem_open, and it is working properly.if the variable is automatically assigned some value? Also would I run into any trouble doing so?

View 1 Replies View Related

Programming :: Initializing Arrays In The Bash?

Mar 12, 2009

I'm making script for automated compiling of one program which would output builds optimized for many architectures. For clearancy, I do each build in it's own catalogue and list of builds with their respective catalogues would be stored as array. I'm using this guide as reference. It describes making array as naming a variable with additional brackets denoting it's position in array.

In my code, it looks exactly like this:




But upon invoking $mtune or any $mtune[x] variable, output is blank, like the variable(s) were never initialized. What am I doing wrong?

View 1 Replies View Related

Programming :: Initializing Pmw Megawidgets For Python 2.6

Oct 12, 2010

I am having a problem initializing the Pmw megawidgets for Python 2.6.I have Pmw_1_3 loaded in the site-packages directory.

View 1 Replies View Related

Programming :: Error While Executing Scripts And Initializing Exe's?

Oct 13, 2010

I am having the following error while executing script and initialing my application

./ line 1: command not found
./ line 2: mon.exe: command not found

Can somebody assist ASAP.

View 4 Replies View Related

Programming :: C++ - Initializing Static Member Array?

Jun 7, 2011

The code below defines an array of structures in a class. I would like this to be a Static array and then initialize the array in a initialization method. I understand that initialization lists are the way to go but due to the size and complexity of the array I plan on using (the example below is a simple snippet that illustrates the problem) I would like to use the initialization method. However, I cant even get this thing to compile. The error says the reference to the ArrayOfStructs in the initialization routine is undefined.


P.S. This is the error message

undefined reference to `ClassWithStaticArray::ArrayOfStruts'

class ClassWithStaticArray {
struct IntegerStruct


View 5 Replies View Related

Programming :: Declaration A Variable In One File And Initializing In Another?

Nov 25, 2010

I made 2 files which are different from the program above one is temp1.h and another is temp2.c to understand how extern is used. So here is temp1.h


typedef struct node * bond;
extern int jk;

and temp2.c is


struct node {
int data;


I had declared jk in temp1.h as an extern int so why can I not initialize it in temp2.c?

View 5 Replies View Related

Debian :: Could't Find 64bit Debian Lenny OS For Intel Architecture

Dec 18, 2010

I could't find the 64bit Debian Lenny OS for Intel architecture.Hence I have installed amd64 and it is working fine.Does both intel and amd have the same 64 bit OS amd64 ?

View 3 Replies View Related

Programming :: Error: Unknown Register Name '%eax' In 'asm'?

Mar 15, 2011

An error occur when I compile my inline assemble code with a alpha/linux cross compiler.code:

#define CPU_ID(cpu_iid)
__asm__ __volatile__ (


View 2 Replies View Related

Programming :: Initializing My Application - Error While Loading Shared Libraries ?

Oct 14, 2010

While initializing my application the following errors is returned:

Bash profile for the user is as follows:

View 1 Replies View Related

Programming :: Initializing A Branch In One Launchpad Project On Multiple Computers?

Mar 25, 2010

initializing a branch in one Launchpad project on multiple computers, or even upon reinstalling an OS? I know I sure haven't.

View 1 Replies View Related

Programming :: Macro To Get Base Address Register In Configuration Space?

Nov 21, 2010

I am trying to understand working of pci_resource_start function So I browsed code via cscope and searched for string pci_resource_start and got following in pci.h


#define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start)

I am not able to understand how does this above macro works. How does it above macro gets appropriate base address register in configuration space?

View 1 Replies View Related

Programming :: Information About The NUMA Architecture Supports?

May 1, 2011

Where can I the information about the NUMA architecture supports in Linux

View 3 Replies View Related

Programming :: Assembly Error: I386 Architecture Incompatible With I386:x86-64 Output?

Aug 21, 2010

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


View 3 Replies View Related

Programming :: Drm-intel Git Tags Too Old?

May 29, 2010

I want to git-bisect drm-intel between linux versions and I have git-cloned this:

as given here and when i say


View 1 Replies View Related

Programming :: Smbus And Intel SCH US15W ?

Feb 12, 2011

Embedded ystem specs: see below.


Problem: no /dev/i2c-0 present

Question: how to use user space i2c/SMBus when I cannot open + utilize devices on the smbus?

For example: smbus_fd = oepn("/dev/i2c-o", O_RDWR) cannot be done since '/dev/i2c-o' does not exists nor is it attached to the i2c-bus (see tree below).

View 1 Replies View Related

Programming :: List Of Hex Values For Intel / AMD Instructions

Jan 24, 2010

Does anyone know what the Inet/AMD instruction 'nopl' is or does anyone know where I can find a list of hex values for the Intel/AMD instructions. nothing important is waiting on this reply.


View 3 Replies View Related

Slackware :: Mplayer Not Initializing In 12.2?

Feb 9, 2010

I have downloaded mplayer svn slackbuild script for slackware 12.2 and converted into tgz package and installed it on my slackware 12.2 system. I was using it with slackware 12.2 early and it worked fine. i formated my hard disk to give slackware 13 a try. and later when i installed slackware 12.2 and installed mplayer it is not opening i mean not initializing when i click mplayer icon from the multemedia menu or if i click a videofile and tell it to open with mplayer both ways its not working i tried reinstalling mplayer
but still not working.

View 3 Replies View Related

Networking :: Programming Using DMA And RDMA On RedHat With Intel Nehalem?

Mar 24, 2010

I've read there is a way to communicate without tradtional TCP/IP programming on Redhat Linux and Nehalem CPU with ethernet. I've tried to collect some related information with sample program codes, but failed to collect useful information.

View 1 Replies View Related

Programming :: AMD CPU Generating Way More System Load Than Intel Xeon CPU?

Oct 11, 2010

I am running some muti-threaded code that uses a lot of memory (~6GB). I have it compiled on a cluster that uses Xeon 5160 quad core CPUs with 4MB cache/core, 8GB of RAM and kernel 2.6.18 (x86_64) and I have also the same code compiled on another cluster that uses Opteron 2214 quad core CPUs with 1MB cache/core, 8GB of RAM and kernel 2.6.28 (x86_64). On the Intel cluster the code generates barely any system load when I look on top but on the AMD cluster it can generate over 50% of system load. On the intel machines my process can generate a constant load of 3, while the load generated by the process on the AMD machines is about 1.6.

Does anybody know what could cause this? Could it be the version of the kernel or the difference between the CPUs (for example, the much smaller cache of the AMD CPUS)? My software and all its dependencies are the same on both clusters. I am also using the exact same version of GCC to compile everything.

View 1 Replies View Related

Ubuntu :: Grub Not Initializing Menu / What To Do?

Jan 20, 2010

I need some help. I'm not exactly new to linux but I'm not an expert either. I decided to try and play around with GRUB and see if I could get the GRUB gui and themes working. Apparently I did something and now, when I start up my computer, all I get is code...

I know little to nothing about grub. I will welcome any and all help or advice with this. Let me know if you need any other information and I will try to post it. Also, I have no idea whether I am running legacy or 2. It originally told me I was running legacy and I attempted to upgrade to 2 but I have no idea if it actually upgraded.

View 4 Replies View Related

Ubuntu :: GRUB Not Initializing Windows 7?

Feb 10, 2010

I am having a very serious problem! GRUB won't allow me to start up windows 7. Each time I select it from the prompt, I am given a blank screen with only the cursor blinking and mocking me. Ubuntu works perfectly fine, but when I try to mount the windows 7 volume, it tells me that it is unable to mount the location because of an input/output error. I havnt done anything to make me believe I have caused this abd I am in complete shock that this has even happened. Both operating systems were running completely fine and then suddenly, windows won't boot up.

View 2 Replies View Related

Programming :: Change The Compiler Pgi To Intel - P4_error: Interrupt SIGSEGV: 11

Jul 9, 2010

I changed the complier PGI to Intel. But i had some error message p4_error: interrupt SIGSEGV: 11 This error message was occured using intel compiler I don't know what is the ploblem.

View 2 Replies View Related

Ubuntu :: Window Decoration Add-on Installer Keeps Initializing?

Apr 17, 2011

kubuntu 10.10: system settings > workspace appearance > window decorations > get new decorations then the 'add-on installer' pops up and starts 'initializing' and then sais: 'Network error (1)' but I have a good working connection

View 2 Replies View Related

SUSE :: Initializing The Random Number Generator?

Jan 10, 2009

I just tried booting SUSE 11.0, but the system stops at the point it shows "initializing random number generator". I have left the system running at that point for almost 2 hrs, with no way to get past that. System isn't locked up. It has never done this before. How do I fix this?I have also tried failsafe booting, but it stops at the same spot also.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved