| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by Noliving
Hello everyone! I'm currently using pcSpim to run my mips code
Basically what my program does is this, you input a string, it counts out the number of characters in that string, it also counts the number of upper case and lower case letters, it also counts the number of spaces and digits. It is...
|
|
3 |
71 |
|
|
by megadeath16
I have a thread A in my code. Even though the stack is not full, I sometimes see that I have an invalid value of the stack pointer (the stack pointer value is outside the stack size range for that thread) and see a stack overflow error. Any tips on what are the possible ways this could happen? and...
|
|
1 |
45 |
|
|
by veronicak5678
I am trying to write a subprocedure that will count the number of buts set in a 16bit number, then send that number (bits set) back to the main procedure in AX. The main should display display the number of 1s and determine if the number is even or odd.
I am trying to count the 1s by shifting left...
|
|
0 |
60 |
|
|
by dhon2407
how to execute / run a batch file in assembly language compiled in tasm???:D
|
|
1 |
735 |
|
|
by faisaly
What are the applications of Assembly Language where any high level language becomes insufficient
|
|
1 |
695 |
|
|
by kizursoze
Hi guys!
I am supposed to finish a skeleton file which disassembles machine code into MIPS instructions. The problem statement follows.....
And the six commands are:
814
|
|
1 |
602 |
|
|
by waphon
preposal an Object-oriented solution that is between ourselves of ai technique.
first of all,Ai_os needs create some database that is chiefly contain: Main, Noun, Verb, Preposition
Create database:
Main:
Create table columns
3 D memory x-axis, y-axis, z-axis, Class mark
Input...
|
|
0 |
250 |
|
|
by hira
Hello everyone!
I am supposed to write a program of a traffic control system. The statement of the question is as below:
The program I have written so far is this:
org 000h
|
08-May-2009 12:30
by hira
|
3 |
665 |
|
|
by theduff
Here is what I have so far.
The program receives and echos characters without syscalls.
I am trying to add 2 procedures(rev7 and putint)
Rev7: Reverses the least significant 7 bits and outputs $s2
Putint: Prints the decimal value of $s2.
|
|
2 |
292 |
|
|
by zatora
I am a student in c++ i am taking datastructure I in college. I always was curious about assembly language so i am wondering if anyone can give an easy assembly tutorial ( please would you provide a link to download a compiler because i don't know how to run an asm file). I am also wondering if...
|
|
76 |
3,569 |
|
|
by Mriswith
Hello all, I'm quite new to programming, and I'm trying to impliment 64-bit subtraction in MIPS.
This is how I have things set up. X and Y are 64-bit positive integers, where each is represented as an array of two 32-bit positive integers. That is, X and Y contain the high order 16 bits, and X...
|
|
6 |
489 |
|
|
by king-gideon
I need to change all the negative elements in an array to zero and print out the new array. Example: 1,2,3,-5,6,-7 would become 1,2,3,0,6,0. I tried writing this and it's not working. :(
.model small
.stack 100h
.data
DEC_SIZE EQU 5
RES DB DEC_SIZE DUP('0')
TEMP DW ?
array dw...
|
|
1 |
195 |
|
|
by bonekrusher
Hi,
I am working on a homework assignment, which is to add the values of an array. The array is populated by user input. I am able to store the values, but unable to get the sum. My programs crashes (see comments in code). Any help or guidance is appreciated.
TITLE Arrays (lab5.asm)
INCLUDE...
|
|
3 |
263 |
|
|
by hell0
Learning assembly...with windows, using tasm5 and tlink for assembling and linking.
i am trying to use the Findfirst function (4Eh) of interrupt 21h.
Here, I understand that the details of found file are seen in DiscTransferArea.
Please...let me know..
Where do or how do I find this elusive...
|
08-Mar-2009 22:34
by hell0
|
6 |
231 |
|
|
by PaulGarcha
Hey
Im currently trying to learn the asm language but im struggling to edit this program to make it do what i want.
Atm it just tells me the number of a chosen letter in the string given but i want it to count the number of more than 1 letters if it makes sense
Iv tried changing it but it gives...
|
|
21 |
808 |
|
|
by bonekrusher
Hi - I am taking an Assemble class and trying to learn hexadecimal representation of decimals. I was hoping someone can explain how to convert -32d to hex
I know that 32d is 20h, but how do I invert 0020h then add 1?
|
|
2 |
193 |
|
|
by minameisricky
; Find the sum and average for trapeziod arrays.
area_stats macro areas, len, asum, aave
local asum_lp
mov cx, len
lea bx, areas
mov asum, 0
asum_lp:
mov ax, word ptr
add asum, ax
|
|
2 |
816 |
|
 |
by vikramaditya
Hi,
The code snippet below works for Linux 32 bit but does NOT work for Linux 64 bit :
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $.LC0, %edi
call puts
mov $1447909480,%eax
mov $10,%ecx
|
|
1 |
556 |
|
 |
by iblink
Hello,
I am working on a Microprocessor project. but i am stuck coming up with an assembly code to convert 8 bit binary to hex. can someone please help me with the assembly code:?: .. thank you
|
|
3 |
634 |
|
 |
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 |
323 |