| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
 |
by vikramaditya
Hey,
i got this piece of code that will detect VMWare but this is for Linux 32 bit:
int vmInfo, vmVer;
asm("mov $0x564D5868, %eax"); /* magic number */
asm("movw $0x0A, %cx");
asm("movw $0x5658, %dx"); /* VMware I/O port */
asm("in %dx, %eax"); //(or outl %eax,...
|
|
0 |
330 |
|
|
by Sh0gun
Hey guys, just came across this site by goggling. I'm in a grade 12 computer engineering course and i've been out of class with a stomach flu for almost 2 weeks. I've come back and I'm way behind but the marks for midterms are submitted friday. I really want to try getting the bulk of this done so...
|
|
6 |
577 |
|
|
by Howard_L
Hello,
In the nasm compiler syntax code below: (in linux)
1) is it possible to pop a value directly into a variable?
. . as shown , popping to register is fine but .... . . In the 'PC Assembly' tutorial I am reading this:
. . based on that I think my dd varable should be able to hold the value...
|
|
6 |
562 |
|
|
by _kiwi
Hello.
I'm writing an x86 program to:
1. read in a set of positive integers from the user
2. store the integers into an array
3. call a procedure to calculate the average
4. output the average to the screen
I'm utilizing 2 files:
main.asm ; the main program
|
12-Nov-2008 17:57
by _kiwi
|
0 |
528 |
|
 |
by faisalloe
Q1: For the memory location whose physical address is specified by 1256Ah, give the address in segments:offset form for segments 1256h and1240h
Q2: If AX=FFFFh and BX= FFFFh the after the execution of the instruction
ADD AX, BX.what will be status of the following flags...
|
|
1 |
462 |
|
|
by SpeedisaVirus
Hello
I am working on a small Mips program for my Comp Organization class and I am having an impossible time with advancing an array which I wish to print integers from. I have a loop that terminates at the proper interval however I cannot seem to get the next value in the array.
I have tried...
|
|
2 |
3,485 |
|
|
by Darquenes
Ok I have gotten this one partially down...but What is needed still is to have an interupt sudfunction to create second line moving downward from the orginal point....
This is my code, i cannot seem to get it to run two line running from the same point can someone edit this with notation as to...
|
|
2 |
909 |
|
|
by Darquenes
I found a site to teach me coding and such...and I still cannont get this right. The rle compressed data is 1, 4, 3, 9, 5, 3, 2, 7, 0. The program currently just prints all these values except the terminating zero. When properly decompressed, the output should be:
4 9 9 9 3 3 3 3 3 7 7
yet i...
|
|
0 |
451 |
|
|
by chezzestix
I've been having trouble with this code so I started placing some custom break points in the code*1 until I found the point at which the program would keil over. I put one break point before the "div bh" in the bcd2ascii function and one after and the computer locks up before the second one is...
|
|
0 |
424 |
|
|
by jackiebb
Hi, I am a beginner at assembly language and want to make a program which displays something on the screen and I can use the arrows on my keyboard to move it around. I have developed code to display the text but am unsure as tohow I go about moving it around the screen. here is my code so...
|
|
0 |
496 |
|
 |
by lilnaniam
I am a beginner and am trying to display the current date. So far I have this but it just keeps printing Sunday which is the first entry in the "DayName" array. I am trying to get the current date from the system to display. Can anyone direct me in what I am doing wrong.
Heres my code...if need to...
|
|
4 |
2,360 |
|
 |
by aijazbaig1
hello,
I have been trying to write a C program and call an assembly routine from within the C program.
Im following the C calling convention.
I have written the following assembly routine and named the file 'mul64_32.asm' and this file is as shown below, I have a routine which is called...
|
|
3 |
1,804 |
|
 |
by Annon777
I was asked to program using Z80 simulator IDE and its assembler to,
subtract a hex number in memory location F101h from a hex number in F100h and stores the value in memory location F202h with the following meaning:
i) 01h if the result is negative;
ii) 00h if the result is zero;
iii) FFh if the...
|
|
0 |
366 |
|
|
by beginnernaive
Okay I just need help and some shed on light how to overcomes this I mean from start..since I'm beginner with assembly...maybe expertise here can help me out by point me the rite path on how to dig it...
ok here's the scenario I have to solve
A predetermine number is stored in an array named...
|
|
0 |
938 |
|
|
by martini80
Using Motorola HC68...Designing a game of Pong using potentiometer to control the bat (paddle). The potentiometer's range is between 0-255 and the screens range that it needs to cover is between 0-50...
I was trying to multiply/divide using the following to get the correct reading - ADC_input *...
|
|
0 |
364 |
|
|
by SENAN
Hey
what im tryin to do is set up a timer to overflow every2 ms so this code will sample an ecg wave at 500Hz. Cant get my head around how to do this and any help would be greatly appreciated.
Thanks
$MOD52
|
|
3 |
402 |
|
|
by TransformedBG
I get a little lost in assembly land, im trying to square any negative numbers that a user put into an array of 10 values... I know i need to use a decrementing counter from MAX till it = 0 and then if its negative square it, any help would be great!
// Description: this program will load 10 16...
|
|
3 |
455 |
|
 |
by seraphim14
How can I long string input then convert it to binary
assembly language:banana: :banana:
|
|
0 |
705 |
|
 |
by seraphim14
Can u help me create a simple
program that i can understand...
a program at converts Binary to Octal
and Octal to Binary...
thanks... I'm just a beginner in Assembly Language:banana:
|
|
0 |
368 |
|
|
by moody
Hello!
I'm having problems figuring out how to extend the datapath and the blocks used for ble and sgt instructions on MIPS32.
After studying a bit I managed to code the instructions for ble and sgt respectively:
slt $t0, $s2, $s1
beq $t0, $zero, less_equal
////////////////////////////
|
30-Mar-2008 09:20
by moody
|
0 |
297 |