3,896 Topics

Member Avatar for
Member Avatar for boxes2
Member Avatar for rubberman
0
84
Member Avatar for boxes2
Member Avatar for rubberman
0
73
Member Avatar for Pyler

Are these two instructions equivalent, i.e do they both do the exact same thing? `addi $s0,$s0,0` and `add $s0, $s0, $zero`

Member Avatar for Hiroshe
0
245
Member Avatar for shahhussainit

Need a Program in assembly language which uses BIOS interrupt INT 21 to read current system time and displays it on the top-left corner of the screen. shahhussainit@gmail.com

Member Avatar for DeanMSands3
0
330
Member Avatar for SpottyBlue

Can help? I totally cannot do assembly code. It's part of my lab tutorial. I wanted to convert this C++ code into assembly: for (a = x; a <= y; a++) { prime = 1; for (b = 2; b <= a / 2; b++) { if (a % b …

Member Avatar for AceStryker
0
230
Member Avatar for Jack_9

I Assembly even worth learning if your not going to be developing the root of an os? I've considered it but it just seems worthless.

Member Avatar for AceStryker
0
207
Member Avatar for silvercats

1. An assembly instrction is converted into binary, also known as the machine code by the assembler. And it contains only 0s and 1s yes /no? 2. Then, the microcode handles the 1s and 0s of the assmelby instrcution that was convereted before. Yes or no? 3. Does the processor …

Member Avatar for Schol-R-LEA
0
427
Member Avatar for Jack_9

In my opinion, python is a fantastic language, but is it possible to develop an operating system with python, BUT one thing that I do know is that if you were going to develop something with python it would probably have to be the gui. Because python dosen't even really …

Member Avatar for mike_2000_17
0
264
Member Avatar for behemothdave

My assignment is as follows: Create a higher/lower guessing game using a graphical user interface. allow users to keep guessing until they guess the number. Choose two colors for the game: one should be used to indicate that the value the users guessed is higher than the target; the other …

Member Avatar for TalhaMoazSarwar
0
2K
Member Avatar for Quast

I dwonlaod https://github.com/SubtitleEdit/subtitleedit OS program, I use VS express 2012, when open it a strange message appear (Cannot start debugging.The assembly to be begged was build with a platform in cimpatible with the cirrent system) In the description error "(Properties\AssemblyInfo.cd) could not be forund" ? How to solve this problem …

Member Avatar for Quast
0
133
Member Avatar for SpottyBlue

I have a problem with my code. I suppose to input a string ans output to all caps. But then, I output is nothing. ![09219e4acd73eb0184487c54b207c04f](/attachments/large/4/09219e4acd73eb0184487c54b207c04f.png "09219e4acd73eb0184487c54b207c04f") TITLE LAB TUTORIAL 1 .model small .stack 100h .data msg1 db "Enter a string: $" msg2 db "Output: $" msg3 db "Number of characters: …

Member Avatar for DeanMSands3
0
285
Member Avatar for SpottyBlue

Hey, I'm new to assembly 8086 progamming and don't know much of the code. How do you change the input string to all caps and show the number of characters without counting the spaces? > Enter a string: Doraemon rules!!! > Output: DORAEMON RULES!!! > Number of characters: 16

Member Avatar for SpottyBlue
0
304
Member Avatar for MasterHacker110

I was wondering something, I know that on windows you can't interact directly with the hardware, you have to use the system API. Now in Linux in the other hand, it looks to me if this can actually be done, or am I wrong? The thing reason why I say …

Member Avatar for mathematician
0
242
Member Avatar for silvercats

JNZ checks if the Zero flag is set or not. How does it really check it? more assembly instructions? I thought Assembly doesn't hide anything.

Member Avatar for mathematician
0
169
Member Avatar for eraphine

the problem is that when it run, it outputs the not msg, which is a wrong statement. the problem is with the declaration or cmp? jmp start msg db "c is equal to a divide b.$" msg_not db "c is NOT equal to a divide b.$" start: mov ax, 41 …

Member Avatar for Assembly Guy
0
123
Member Avatar for pspwxp fan

Hi Daniweb, I am working on an assignment that is aimed to help us understand floating points. The current task is to take a number as input, example 3.5, or 2.25 etc and output it as a binary decimal, ex 11.100000000, 10.0100000000. To do this, I am taking the whole …

Member Avatar for pspwxp fan
0
338
Member Avatar for lim.charmender

As the title says. I have tried FreeBSD's stack structure but it looks as though Mac does not use that structure. Also, how could I get their value into a particular register (ecx)? Thanks in advance!

Member Avatar for lim.charmender
0
262
Member Avatar for jack_7

How I can increase size of stack in assembly (NASM OS X intel64) I used **.STACK 4096** before **section .data** but return this error error: attempt to define a local label before any non-local labels error: parser: instruction expected Please guide me.

Member Avatar for Hiroshe
0
333
Member Avatar for sushmaja.arumalla.9

I have one page with ajax tab container and the content of the tabcontainer should be place in different pages.For this i have used the following code <asp:Tabcontainer ID="Tabcontainer1" runat="server" AutoPostBack="true" OnActiveTabChanged="tabChanged"> <asp:TabPanel ID="panel1" runat="server" HeaderText="Panel1" > <ContentTemplate> <asp:ContentPlaceHolder ID="Panel1content" runat="server" > </asp:ContentPlaceHolder> </ContentTemplate> </asp:TabPanel> <asp:TabPanel ID="Panel2" runat="server" HeaderText="Panel2"> <ContentTemplate> …

Member Avatar for Sals
0
1K
Member Avatar for Za3mi

I am a new to assembly and i am asked to multiply two 3x3 matrices and then show the given result. I am having problem in multiplication as mov al,5 mov bl,6 imul bl but how to print it?? i know the result will be in ax register but i …

Member Avatar for Za3mi
0
2K
Member Avatar for Pinky_1

please provide me a code for telephone directory in emu8086. its my project,and i am very tensed about it. just a simple program. please help this girl.

Member Avatar for LaxLoafer
0
239
Member Avatar for ponnan

Sorry if I sounds mad...I have a some knowledge in c++ programing language. But I have been wondering if I can learn assembly language so that I can play with my pc as I like by programing it, creating DOS like programs and so on...but in my research I came …

Member Avatar for rubberman
0
433
Member Avatar for jack_7

hi , please convert this block code to intel syntax ( nasm) xorps %xmm0, %xmm0 movaps %xmm0, -64(%rbp) movb $2, -63(%rbp) movl $3103850762, -60(%rbp) movw $20480, -62(%rbp) leaq -64(%rbp), %r14

Member Avatar for untio
0
357
Member Avatar for jonny93

I have a project due soon, and I am having trouble with it. Here is my code: ` #include "msp430.h" ; #define controlled include file NAME main ; module name PUBLIC main ; make the main label vissible ; outside this module ORG 0FFFEh DC16 init ; set reset vector …

0
181
Member Avatar for shaheer21

Hello i am new to assembly please help me i want to write a program in Linux assembly which can multiply and divide real binary and hexa decimal numbers(e.g 11010.11001 & A56.B5). . Please help me as soon as possible i will have to submit the assignment by tuesday please …

Member Avatar for Assembly Guy
-1
125
Member Avatar for pspwxp fan

Hi Daniweb, I'm new to Assembly level programming and have been given an assignment in MIPS. Having started to plan the assignment, I have come to a rather open ended question that I want your opinion on: given that one has only so many registers to work with on Assembly …

Member Avatar for Schol-R-LEA
0
287
Member Avatar for moaz.amin.37

i need some information about the Assembly instruction in processor iapx 8088. if there is any link of any articles that can help me then plz send me this is my assignment. And i want good grades in my assignment.

Member Avatar for Schol-R-LEA
0
177
Member Avatar for user12567

I'm trying to find all the prime factors of an inputted number. I was given the following Java code to convert to assembly. String getFactors(int number) { String answer = ""; for(int factor=2; factor <= number; factor++) { if(number % factor == 0) { answer += factor + "*"; number …

Member Avatar for Schol-R-LEA
0
212
Member Avatar for kswag18

Can someone please write this program for me? Your program will accept as input only unsigned integers in the range 2 .. 65535. If the user enters a value that is invalid, your program must print a helpful error message and prompt the user to enter a new integer. Your …

Member Avatar for Schol-R-LEA
-2
728
Member Avatar for jamesc205
Member Avatar for mike_2000_17
0
456
Member Avatar for C-Money

I am attempting to do some Boolean algebra for my computer organization class. I have gotten the first seven problems done, but for the last four, I am confused. The question for all of them is the same- 'Simplify each expression to Minimal Sum of Products form. Show each step …

Member Avatar for iamthwee
0
162
Member Avatar for otengkwaku

Hi guys i am using sax to extract data from an xml file but i can't seem to discover how to extract <![CDATA[%s]]> from the xml below is the xml and the java code //java codepublic class XmlParser { public XmlParser(String xml) { try { SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser …

Member Avatar for iamthwee
0
2K
Member Avatar for Coudren

I had created a window application, finish debug and it work perfectly in my computer. I then copy a whole folder includes the .exe file to another computer which doesn't installed vb. When i run the .exe files, it doesn't work and pop out the statement below: *********************************************************************************** See the …

Member Avatar for oussama_1
0
457
Member Avatar for chris.immanuel

Hi there, I need a help on how to pass php variable to another page when the checkbox is clicked. so far i hav this <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript"> $('.cuttingCheckbox').change(function() { if (this.checked) { $.post('fabProcess.php', { headmark : $($row[HEADMARK]).val(), headmark_id : $($row[ID]).val() }, function(response){ this.setAttribute("disabled", true), alert(headmark,headmark_id); …

Member Avatar for vsmash
0
3K
Member Avatar for Labdabeta

Hello, I have learnt a few assembly languages (MIPS/x86/ARM/MIX) and I have a question about the call stack. Each of those languages uses a different method for subroutine linkage, and the way I learnt them was not conducive to recursion. Granted, if I continue reading my copy of The Art …

0
177
Member Avatar for NardCake

Hello! I have a friend that is really interested in programming, I'm going to try to teach him this summer. I'm posting this to begin a discussion on how I think I'm going to acheive this so he has the best understanding of everything down the line. The title of …

Member Avatar for jwenting
1
493
Member Avatar for alagez

Hi there, I am planning to create one robot choosing center. But I do not know how to use the idea to execute in python software. my idea is, let say a customer wants to choose a robot how to use the rule below to execute in python: IF the …

Member Avatar for alagez
0
278
Member Avatar for krunal1986

Hello, I need to display last released version date in my application. I am displaying last build/compiled date as version date with below code. DateTime buildDate = new FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime; lbldate.Text = buildDate.Date.ToString("dd/MM/yyyy"); but if I update the live server with latest code other than today, then it is displaying the …

Member Avatar for pritaeas
0
307
Member Avatar for grafic.web

Hi, is more than a week that i try to resolve this error on my app but i can't... The problem is the following : I have a menu and submenu table and i show this records in this mageMenu.chstml (list of menus and submenus to generate the menubar of …

0
189
Member Avatar for jingo1126

ok i have this problem in mind i wanted to try but i cant figure out whats wrong with my code..the program lets you input a string of integers then press another input as target..The target is then cmp to the string..the output should place lesser values on the string …

Member Avatar for Assembly Guy
0
5K
Member Avatar for mark anthony_1

how can i make a file handling program in tasm using a far jump any comment and suggestion please?

0
63
Member Avatar for Patrick_3

Hello, I have another question about dynamically compiled code. I am using the VBCodeProvider class to compile, test, and run "scripts" that users type into my program (Code Below). Public Function Compile(ByVal vbCode As String, ByVal argsString As String) As Object Dim oCodeProvider As VBCodeProvider = New VBCodeProvider ' Obsolete …

Member Avatar for xrjf
0
598
Member Avatar for user304795

I'm a novice to MIPS I'm trying to develop a program which takes an input from a ten word array, increments it by two, stores the result back into a register $v0. Which will hold the incremented value. The program should stop when it encounters a value of 0 from …

Member Avatar for Schol-R-LEA
0
6K
Member Avatar for C-Money

I am writing a code for my Computer class, that takes a user input string, and displays it with the vowels removed. I have the code to where it takes the input and displays the string, but it only displays the letters in front of the first vowel. For example, …

Member Avatar for sDJh
0
805
Member Avatar for msolomon.ashish

i want cash on delivery code for ecommerce here's my cart page code <?php session_start(); // Start session first thing in script // Script Error Reporting error_reporting(E_ALL); ini_set('display_errors', '1'); // Connect to the MySQL database include "storescripts/connect_to_mysql.php"; ?> <?php ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Section 1 (if user attempts to add something to …

Member Avatar for msolomon.ashish
-1
3K
Member Avatar for C-Money

I have been working on a code that takes three strings, copies one string into another, takes the length of one of the strings, then concatenates the three strings, copies them, and get there length, but there is a problem. I need it to display 'The three strings combined are: …

Member Avatar for C-Money
0
476
Member Avatar for C-Money

I working on a mips code as extra credit for my Computer Organization and assembly class. The instructions are: Write a program) that will define the following string manipulation functions. Each is analogous to the corresponding C++ string function. STRLEN( Str &, Len &) Sent the address of a string, …

Member Avatar for C-Money
0
13K
Member Avatar for C-Money

I am attempting to write a code with several different segment, such as combine two differents strings, compare two strings, find the length of a string. Right now, I am working on the part to get the string length, but when I run the code I have so far on …

Member Avatar for C-Money
0
13K
Member Avatar for MasterHacker110

So i have bought this book about assembly language but they use Netwide assembler and i dont have an IDE / COmpiler for it. I have looked at NASM origanal website but i din't fid any IDE. I use FASM, i dont know if NASM will work with FASM. Any …

Member Avatar for Дмитрий_4
0
2K
Member Avatar for C-Money

For the assignment I am doing for my Computer Orgainzation and Assembly class, we are to print a given array, using the selection sort. Then, for bonus points, we are to print the array after it is sorted 5 per line. I am stuck on this part. My codes sorts …

Member Avatar for Schol-R-LEA
0
5K

The End.