hello everybody!
i'm not good in english.
i have a problem with assembly language.
my teacher not teach me anything but he give me a homework.
if i miss this homework ,i will fail in examination.

i want someone to help.
i want code in assembly language( file.asm ) code long 5-6 page.
i want about 4 code and can use(can run program).

please help me.:sad:

Dani AI

Generated

As pointed out, forums should not be used to get whole assignments done for someone else. When asking for help, state the required assembler and operating system and show whatever partial code or design attempts exist. As suggested, if English is a problem, searching for tutorials in the poster's native language can make the learning curve much easier.

A simple, practical workflow for learning x86-64 assembly on Linux with NASM:

  1. write the .asm source, 2) assemble, 3) link, 4) run, 5) debug/disassemble. Minimal NASM example (x86-64, Linux):
; minimal NASM x86-64 example: print then exit
section .data
    msg db "Hello, world",10
    len equ $-msg

section .text
    global _start
_start:
    mov rax, 1
    mov rdi, 1
    mov rsi, msg
    mov rdx, len
    syscall

    mov rax, 60
    xor rdi, rdi
    syscall

Assemble and link:

nasm -f elf64 -g -F dwarf file.asm
ld file.o -o file
gdb ./file

Project ideas that expand into multi-page, demonstrable work: (1) string-processing library (copy, concat, compare, reverse) with tests; (2) a console integer calculator showing parsing and function calls; (3) array routines and sorting (bubble, insertion) with step-by-step output; (4) simple file I/O or menu-driven utility. Each can be broken into commented procedures, test cases, and documentation to reach the required length.

Debugging and learning tips: use gdb, objdump -d, and readelf -a to inspect output; comment every line and explain calling conventions; and avoid submitting work that is not the student’s own. Good general references: Assembly language (overview) and the NASM documentation.

Recommended Answers

All 6 Replies

Hello,

What is your native language?

LamaBot

Hello,

What is your native language?

LamaBot

LamaBot = fifth:cheesy:

commented: wtf thats not nice -1

fLamaBot = fifth:cheesy:

thats not very nice is it, its not our job to do your homework anyway. we would have no qualms helping you if you at least made a start, but instead you make stupid posts like the previous one. (bad rep added)

thats not very nice is it, its not our job to do your homework anyway. we would have no qualms helping you if you at least made a start, but instead you make stupid posts like the previous one. (bad rep added)

thank you for advice.
i already finish my homework.
but i think these

Hello,
What is your native language?
LamaBot

he made disparaging remarks about my ability.

sorry with my bad language.

thank you for advice.

he made disparaging remarks about my ability.

he was not doing that, he was simply asking. we get many people on here from countries where english is thier second language and we try to cater for them

he was not doing that, he was simply asking. we get many people on here from countries where english is thier second language and we try to cater for them

Actually, I was going to try and find a website that would of accomodated his or her need to learn assembly written in his native language that he or she would understand. That'd probably make it easier . :)

Good luck, LamaBot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.