Skip to content

Instantly share code, notes, and snippets.

Sanjib Narzary sanjibnarzary

Block or report user

Report or block sanjibnarzary

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sanjibnarzary
sanjibnarzary / loop.asm
Created Jan 11, 2012
Lets count 10 to 0 in Assembly Language (Assenbly Language program to loop 10 times)
View loop.asm
;Author : Sanjib Narzary
;Institute: NIT Calicut
;Email: o-._.-o@live.com
;Assembly Code
section .text
global main
extern printf
main:
mov ebx,10 ;number 10 to ebx
@sanjibnarzary
sanjibnarzary / cio.asm
Created Jan 11, 2012
Character Input Output in ASM using NASM in UBUNTU Linux
View cio.asm
;Author : Sanjib Narzary
;Institute: NIT Calicut
;Email: o-._.-o@live.com
;Assembly Code
section .data
;New line string
NEWLINE: db 0xa, 0xd
LENGTH: equ $-NEWLINE
section .bss
INPT: resd 1
@sanjibnarzary
sanjibnarzary / addition.asm
Created Jan 10, 2012
Adding Two Numbers and Display the Content of Register in Assembly Language using nasm
View addition.asm
;Author : Sanjib Narzary
;Institute: NIT Calicut
;Email: o-._.-o@live.com
;Assembly Code
section .text
global main
extern printf
main:
@sanjibnarzary
sanjibnarzary / greet.asm
Created Jan 11, 2012
Prompt a User to type his name and Gree Him on the Console, Assembly Language Code
View greet.asm
;Author : Sanjib Narzary
;Institute: NIT Calicut
;Email: o-._.-o@live.com
;greet.asm
section .data
; Declare/store the information "Hello World!"
prompt db 'What is your name? '
; do not change the order of the following three lines!
helloMsg dq 'Hello '
name db ' ' ; space characters
@sanjibnarzary
sanjibnarzary / stackoverflow.sql
Created Feb 15, 2016 — forked from gousiosg/stackoverflow.sql
Script to import the stackexchange dumps into MySQL
View stackoverflow.sql
# Copyright (c) 2013 Georgios Gousios
# MIT-licensed
create database stackoverflow DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
use stackoverflow;
create table badges (
Id INT NOT NULL PRIMARY KEY,
UserId INT,
You can’t perform that action at this time.