Preview

bvjnmk,l

Satisfactory Essays
Open Document
Open Document
2025 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
bvjnmk,l
New Era University
College of Engineering and Technology
Department of Computer Science

PROJECT IN
CS 223 Computer Organization and Assembly Language

Submitted By : Lord Zoe S. Alforja
Submitted To : Ms. Laurice Anne Iglesia
Schedule : Friday 4:00-7:00
Date : March 21, 2014

1. BASIC OUTPUT Construct an assembly language program that will show your name, your academic year and field of study, the name of your school on screen and your mobile number. SOURCE CODE :

TITLE project1.ASM
DOSSEG
.MODEL SMALL
.STACK 0100h
.DATA
namename DB 0Ah, 0Dh,"Lord Zoe S. Alforja",0Ah, 0Dh,"$" yearcourse DB 0Ah, 0Dh,"2nd Year - Computer Science",0Ah, 0Dh,"$" school DB 0Ah, 0Dh, "New Era University",0Ah, 0Dh,"$" number DB 0Ah, 0Dh, "09172482744",0Ah, 0Dh,"$"
.CODE
MOV AX, @DATA MOV DS, AX

MOV AH, 09h MOV DX, OFFSET namename INT 21h

MOV AH, 09h MOV DX, OFFSET yearcourse INT 21h

MOV AH, 09h MOV DX, OFFSET school INT 21h

MOV AH, 09h MOV DX, OFFSET number INT 21h MOV AX, 4C00h INT 21h
END

OUTPUT:

2. BASIC INPUT/OUTPUT
Construct an assembly language program that will enter any character and will categorize if the input character is an alphabet, a digit or a special symbol.

SOURCE CODE :

TITLE project2.ASM
DOSSEG
.MODEL SMALL
.STACK 100h
.DATA
char db " " msg1 db 0ah,0dh,"Input any character: $" msg2 db 0ah,0dh, "Category: $” alpha db "Alphabet$" sSymbol db "Special Symbol$" number db "Number$" val db " " num db "1","2","3","4","5","6","7","8","9","0" symbol db "!","@$","#$",'$$',"%","^","&","*","(",")","-", "+","_","="
.CODE
MOV AX, @DATA MOV DS, AX

MOV SI, 0 MOV BX, 0

MOV AH,09h MOV DX, OFFSET msg1 INT 21h

MOV AH, 01h INT 21h MOV CHAR, AL

MOV AH,09h MOV DX, OFFSET msg2 INT 21h

JMP F

You May Also Find These Documents Helpful

  • Powerful Essays

    Bihjkk

    • 1385 Words
    • 6 Pages

    - In Piaget’s theory of moral development, the stage at which children think that rules are unchangeable and that breaking rules leas them automatically to punishment.…

    • 1385 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Blaj

    • 709 Words
    • 3 Pages

    "Blah Blah Blah" is a song by American recording artist Kesha from her debut album, Animal (2010). Produced by Benny Blanco, and co-written by Kesha, Blanco, Neon Hitch and Sean Foreman, it was released as the album's second single on February 19, 2010, and features 3OH!3. Initial writing of the song took place when Kesha, Blanco, Hitch and Foreman were discussing which sex talked more and which one was more "obnoxious." The song is a midtempo electropop song that speaks of men in the same way that they have talked about women in the music industry. The lyrics depict a woman who would rather have sex than listen to a man speak and features blatant come-ons throughout the song.…

    • 709 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Today, everybody uses a smartphone to access the Internet, keep in touch with friends, message and even use it as a diagnostic device. As the new school year comes close, these smartphones can prove to be important tools that help in completing different college assignments. The applications can be widely used across various age groups, however, it is important to be sure and that the college allows the use of these applications and as a student no rules are being broken.…

    • 542 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Kjll, Knlknkn; Lnl

    • 36561 Words
    • 147 Pages

    Study Guide and Intervention . . . . . . . . 343–344 Skills Practice . . . . . . . . . . . . . . . . . . . . . . . 345 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 Reading to Learn Mathematics . . . . . . . . . . 347 Enrichment . . . . . . . . . . . . . . . . . . . . . . . . . 348…

    • 36561 Words
    • 147 Pages
    Satisfactory Essays
  • Better Essays

    Students raised in today’s technologically advanced society are enjoying amenities that simply could not be imagined even a few decades ago. One of these technology-enabled privileges include online communication via social media websites such as MySpace, Facebook, and Twitter. At the present time, the utilization of online social media within the student population has become so mainstream that formal college admissions applications are beginning to request students’ personal social media address alongside their home and mailing address. Furthermore, many institutions of higher education boast flamboyant official websites that encourage prospective students…

    • 1194 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Klklklm Nknkn

    • 30032 Words
    • 121 Pages

    Copyright and Disclaimer This resource pack was written by Kevin Flemen. It is © Kevin Flemen/KFx and should not be reproduced without permission. The above notwithstanding, the holder of this pack is welcome to use or adapt both the contents of the pack and the exercises in their ongoing work. Both drugs and legal information change frequently. Workers should always seek up-todate advice. Kevin Flemen/KFx take no responsibility for errors and omissions in this pack or in the course or any consequences that may arise. The unlicensed possession of controlled drugs in the UK may be a criminal offence and brings with it potential harm. The contents of this pack are for information only, and should not be seen as condoning or encouraging the use of any drugs. This pack updated August 2010 Contact: kfx@ixion.demon.co.uk www.ixion.demon.co.uk…

    • 30032 Words
    • 121 Pages
    Good Essays
  • Satisfactory Essays

    Kjkj

    • 625 Words
    • 3 Pages

    Sitting in a NEW 205 class on the first day of the spring semester, Kati DeCaire looks like just one of the many fresh-faced college students ready to take on the world. But DeCaire is not your typical Syracuse University underclassman. Unlike many of her peers, she has already had life experiences far from typical for someone her age. She has suffered hardships and made tough decisions that have taken her on an incredible journey.…

    • 625 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    corlang

    • 386 Words
    • 2 Pages

    Shifts the bits in the first operand (destination operand) to the left or right by the number of bits specified in the second operand (count operand). Bits shifted beyond the destination operand boundary are first shifted into the CF flag, then discarded. At the end of the shift operation, the CF flag contains the last bit shifted out of the destination operand.…

    • 386 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    A kjcnkn mn lknl knlnln

    • 624 Words
    • 3 Pages

    Table of Contents 1. ... 21 8.7.5 Variable Length Requirements for ATMARP Packets . ... Section 7, on Default MTU, has been incorporated directly from Ran ... VC setup may be done on either a Permanent Virtual Connection (PVC) or dynamic .... IP router even though it may be possible to open a direct VC between the two ...…

    • 624 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    – Also called: string constant, string value, string – A string is stored as an array of characters terminated by an end-of-string symbolic constant named NULL ('\0')…

    • 1527 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    Jnkk

    • 1408 Words
    • 6 Pages

    (a) An electrical circuit may develop either an overload or a short-circuit condition. Briefly explain the differences between these two conditions.…

    • 1408 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    • To excel in the filed of advertising by practicing, my acquired skills. To also interact with the creative department and conceptualize themes and routes for ad campaigns. And to be a part of a company that offers growth, responsibility and a challenging environment. Also, I am very creative when it comes to assisting the copywriters in coming up with tag lines and rhyming.…

    • 853 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Cgvhjbk

    • 838 Words
    • 4 Pages

    Plot:The story opens with Albie and his father travelling home from a fishing expedition. Unexpectedly, an intoxicated rider is left seriously injured in a self-inflicted accident. The main character, Albie, witnesses the immobile, bloody body. The conflict for Albie and his father is deciding what action to take regarding the body. Upon delivery of the injured boy to his father, Albie and his father drive off in their truck. Winton ends, rather abruptly, with each son in the arms of their father. This can be considered a logical and suitable conclusion despite some uncertainty as to the state of the rider.…

    • 838 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    gvbhjknlm

    • 559 Words
    • 3 Pages

    Shippensburg University of Pennsylvania, commonly known as Ship, or SU, is a public university located in Shippensburg, Pennsylvania, 40 miles west-southwest of Harrisburg, and 53 miles northwest of Westminster, Maryland. Wikipedia…

    • 559 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    lkdlkc

    • 1517 Words
    • 7 Pages

    Our late Sheikh Zayed, said "A nation without a past is a nation without a present or a future. Thanks to God, our nation has a flourishing civilisation, deep-rooted in this land for many centuries.”…

    • 1517 Words
    • 7 Pages
    Powerful Essays

Related Topics