.

Tuesday, August 13, 2013

Nasm

stick in geezerhood broadcast org 100h mov ah, 9 mov dx, str1 int 21h mov ah, 1 int 21h mov ah, 9 cmp al, 37h jz age_ selfsame(prenominal) jg age_ sure-enough(a) jl age_younger jmp after age_same: mov dx, str2 int 21h jmp after age_older: mov dx, str3 int 21h jmp after age_younger: mov dx, str4 int 21h jmp after after: mov ah, 4Ch int 21h str1 db ENTER YOUR date: $ str2 db 0Ah, Wow. You and I be the same age.$ str3 db 0Ah, You be older than me, pal. Cool!$ str4 db 0Ah, I am older than you, haha!$s NASM - The Netwide assembler February 18, 2012, 10:32:47 pm Welcome, Guest Please login or register. Login with username, give-and-take and session continuance News: We argon seat up and running! class Help Search calendar Login memorialize NASM - The Netwide Assembler > NASM meeting place > Example engrave > work out your age course of study « former next » Pages: [1] Print Author case: Enter your age course (Read 848 times) sledge Jr.
Ordercustompaper.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!
Member Offline Posts: 19 Enter your age program « on: August 23, 2011, 02:56:11 am » ________________________________________ Code: [Select] org 100h mov ah, 9 mov dx, str1 int 21h mov ah, 1 int 21h mov ah, 9 cmp al, 37h jz age_same jg age_older jl age_younger jmp after age_same: mov dx, str2 int 21h jmp after age_older: mov dx, str3 int 21h jmp after age_younger: mov dx, str4 int 21h jmp after after: mov ah, 4Ch int 21h str1 db ENTER YOUR progress: $ str2 db 0Ah, Wow. You and I are the same age.$ str3 db 0Ah, You are older than me, pal. Cool!$ str4 db 0Ah, I am older than you, haha!$s This marvelous program asks for your age, compare and therefore outputs a message found on how old you claimed to be. difficulty is I cant type to a greater extent than one character... so in this program you cant be older than 9 age old. Logged blustering Kotler NASM Developer Hero Member soil: ...If you want to get a safe essay, order it on our website: Ordercustompaper.com

If you want to get a full essay, wisit our page: write my paper

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.