0801IT211098 Lab Assignment - 1: 1. Write Program To Print "Hello World"
0801IT211098 Lab Assignment - 1: 1. Write Program To Print "Hello World"
Lab Assignment -1
section .data
1
0801IT211098
msg db '9 stars are',0xa ;a message
len equ $ - msg ;length of message
s2 times 9 db '*'
3. Write a program to print hello, this is my first program using two sections
section .text
global _start ;must be declared for linker (gcc)
_start: ;tell linker entry point
section .data
msg db 'Hello, ',0xa ;a message
len equ $ - msg ;length of message
section .data
msg1 db 'This is my first program ',0xa ;a message
len1 equ $ - msg ;length of message