2,878 Topics

Member Avatar for
Member Avatar for rpv_sen

Hi I am working on windows services. i can bale to run the service for every 1 min. I creating multi thread. but i required the service to run in single thread. can any one please help me to fix my issue. **Code** using System; using System.Collections.Generic; using System.ComponentModel; using …

Member Avatar for pritaeas
0
1K
Member Avatar for dmanw100

Hello, I've just begun working with assembly so I'm sorry if this question is simplistic. I would like to implement an atomic add (for incrementing an array pointer). My code looks like this: int * ptr; int step; asm("lock add %1, %2;\n" :"=m"(ptr) :"m"(ptr),"r"(step) : ); But I'm getting an …

Member Avatar for Feanis
0
312
Member Avatar for Üzåír

.MODEL SMALL .STACK 50H .DATA NL DB 0DH, 0AH, '$' .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV CX, 5 MOV BX, 1 FOR_1: PUSH CX MOV DL, 20H MOV AH, 2 FOR_2: INT 21H LOOP FOR_2 MOV CX, BX FOR_3: MOV DL, '*' MOV AH, 2 INT …

0
580
Member Avatar for fuyulight

*how program to display this triangle??? >_<* > ***** > **** > *** > ** > * > * > ** > *** > **** > ***** (just the triangle..)

Member Avatar for Üzåír
0
21K
Member Avatar for madupandu

middle c on a piano hase frequence of 261.63Hz bit 5 of input address 2000H is connected to an amlifer which driven a loud speaker . Write a program that sends middle c to the speaker

0
121
Member Avatar for aksikan

Hi, I have doubt on my answer in regards to the example for the coding part. I know my definition part should be okay, but I have doubt on my example part to show the difference between the Macro and the procedure. Can you please take a look at my …

Member Avatar for ludike23
0
4K
Member Avatar for G_Waddell

Hi, I'm writing code to connect to Oracle through ODP so I added a reference to the Oracle.DataAccess dll on my machine. Trouble is I'm writing a 64 bit app and I appear to have both x86 and 64 bit versions of this dll on my machine. No matter which …

Member Avatar for JOSheaIV
0
336
Member Avatar for moin ali khan

i have a project in assembly language. i just cannot make this out. i have to submit that in few days. any programmer or assembler who has already made that project ? or has a source. please reply and share ... thank you

Member Avatar for pritaeas
-1
180
Member Avatar for Lesta_1

Hello guys, am an assembly rookie. Wrote this code in notepad++ section .text global_start ;must be declared for linker (ld) _start: ;tells linker entry point mov edx,len ;message length mov ecx,msg ;message to write mov ebx,1 ;file descriptor (stdout) mov eax,4 ;system call number (sys_write) int 0x80 ;call kernel mov …

Member Avatar for rproffitt
0
177
Member Avatar for appsdata

Hello and how are you? I am trying to fix the nested loop called the clock to go from 0:0:0 to 12:59:59 but I am keep getting infinite loops of 0:0:0 on mars/mips Here is what I have: .data str2: .asciiz ":" space: .asciiz "\n" .text main: li $t0, 0 …

Member Avatar for rubberman
0
1K
Member Avatar for plus65Naomi
Member Avatar for admin1

hi, I have to do a task and i have to write an assembly lanuage program to read in a series of pairs of numbers and for each pair output the sum and the difference. That's my code already pls help i have no idea: BR main ; Branch around …

Member Avatar for rproffitt
0
202
Member Avatar for shamuh2021

I am very much interested in learning programing and software development skills. However i know sotware testing skills, knowledge of hardware, software applications, information security, networking. I do lot or research to learn to develop and desing website with databse integration. I am not financially fit to invest in all …

Member Avatar for shamuh2021
0
219
Member Avatar for Eppie

Hello everyone, I am new in assembly programming for MIPS and I was given a project to write a program that converts any decimal bumber from 0 to 511 into octal and return the result with 3 digits in reverse i.e. 170 for the decimal 57, 026 for 400 and …

Member Avatar for Eppie
0
3K
Member Avatar for Mayukh_1

I have a small snippet. It is related with several malloc statements. Can somebody please explain. #include <stdio.h> #include <stdlib.h> int main(){ char* ptr1 = (char*)malloc(10); free(ptr1); char* ptr2 = (char*)malloc(10); free(ptr1); char* ptr3 = (char*)malloc(10); free(ptr1); return 0; } **What will happen to the snippet..? Will the malloc for …

Member Avatar for rubberman
0
126
Member Avatar for Zerk

Construct a large integer (32 – Bit) from two Byte Variables (8 – Bit) and one Word Type variable (16 – Bit). Store your result into EAX and print it. Like if byte1 = 21h, byte2 = 43h & word1 = 8765h Then your output may be 87654321h OR 43218765 …

Member Avatar for David W
0
260
Member Avatar for Saumi

hi guys, I'm new to assembly alnguage. I hanve installed NAM in my ubuntu linux. I'm trying to execute a .asm file in NASM using command , nasm -f elf32 <filename.asm> -o <filename> I'm getting follwing error when I'm using this command, kernel.asm:9: error: parser: instruction expected How can I …

Member Avatar for rproffitt
0
240
Member Avatar for Ferron

Hello I've found a working script for what I want to do: https://www.daniweb.com/programming/software-development/threads/384778/copy-files-from-a-list-in-excel Imports Excel = Microsoft.Office.Interop.Excel Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'get the last saved settings btnCopy.Enabled = False txtExcel.Text = My.Settings.ExcelFile txtSrce.Text = My.Settings.SourceFolder txtDest.Text = My.Settings.DestinationFolder SetCopyButtonText() …

Member Avatar for Ferron
0
309
Member Avatar for overwraith

So, I have heard about code porting, basically where you take existing code from one language, and translate it to another language. What I want to know is how does this process work? Are there automated tools for preforming this type of thing, or is it always a manual process? …

Member Avatar for deceptikon
0
243
Member Avatar for ShiftLeft

For those interested in operating system development, this snippet tests status of A20. It is the line that allows memory beyond 1 meg to be addressed, otherwise it will just wrap around which some applications and versions of DOS depend on. My bootloader **MBR1_44** has switched system to protected (*32 …

0
285
Member Avatar for Mahnoor_1

Write a program that displays the same string in four different colors,using a loop. Call the SetTextColor procedure.Any color may be chosen, but you may find it easiest to change the forground color. Include irvine32.inc .data Str BYTE “This is the string”, 0 Color BYTE red,yellow,blue,cyan .code Main PROC Mov …

Member Avatar for ShiftLeft
0
198
Member Avatar for Ben_13

write a LC3 assembly language program to (a) read in a hexadecimal number, (b) convert the number to a 16-bit binary number, and, (c) display the 16-bit binary number. It should be assumed that (a) the number entered by the user is a valid unsigned hexadecimal number consisting of at …

Member Avatar for almostbob
-1
4K
Member Avatar for Anthony_9

Hello everyone I am new to assembly and currently taking an online class over assembly. I am using x86 intel machine with AS. My project would like me to complete the following: - Show how decimal 65 would be stored in register EAX in 8, 16, and 32 bits using …

Member Avatar for Anthony_9
0
253
Member Avatar for ALI KHAYRI
Member Avatar for sarahmalkawi

i want to write easy68k Assembly program to read two numbers each number have 20 digit , then multiply them together and finally print out the result ??

Member Avatar for ALI KHAYRI
0
123
Member Avatar for Narue

Just for fun, I wrote up a quick tutorial for basic assembly. At present, it's only in the form of a PDF document, but I'll eventually get around to adding it to my website.

Member Avatar for The Old Man
19
2K
Member Avatar for Lee a

Hi, I need help in using assembly language to program PIC16f84a for a traffic light. Please, I would appreciate any help.

Member Avatar for mullerfourie
0
146
Member Avatar for kausarnazzir

Mention the DOS interrupt that is used by the printer to send acknowledgment of its output. Also provide the corresponding service number and registers to be used

Member Avatar for gusano79
0
94
Member Avatar for printf

How do you boot into a primary parition or the FAT file-system in the first sector of the MBR? That's the error on the USB stick and the error say's that it can't mount the file on linux mint. The specific verion of FAT is either FAT 32 or FAT …

Member Avatar for sDJh
0
146
Member Avatar for deepak_30

Error 4 'ASP.ajax_aspx' does not contain a definition for 'TextBox8_TextChanged' and no extension method 'TextBox8_TextChanged' accepting a first argument of type 'ASP.ajax_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\Hp\Documents\Visual Studio 2010\WebSites\WebSite4\ajax.aspx 508

0
85

The End.