Download presentation
Presentation is loading. Please wait.
Published byHugo Harrison Modified over 9 years ago
1
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
2
Princess Sumaya University 22342 – Computer Org. & Assembly Lang. Computer Engineering Dept. 1 / 5 Code & Data .Data Directive ●Definitions of Variables ●Memory Reservation .Code Directive ●Instructions END Directive ●Last Line Program File.Data.Code END
3
Princess Sumaya University 22342 – Computer Org. & Assembly Lang. Computer Engineering Dept. 2 / 5 Code & Data Directives Variables ●Byte, Word ●Initial Value ●Arrays Program File.Data.CodeMemory 0000 0001 0002 0003 0004 0005 END DS
4
Princess Sumaya University 22342 – Computer Org. & Assembly Lang. Computer Engineering Dept. 3 / 5 Memory Segments Program File.Data.Code END Byte 1 M 64 K CS DS
5
Princess Sumaya University 22342 – Computer Org. & Assembly Lang. Computer Engineering Dept. 4 / 5 Data Directives Constants ●Binary ●Decimal ●Hexadecimal ●ASCII Program File.Data.Code END
6
Princess Sumaya University 22342 – Computer Org. & Assembly Lang. Computer Engineering Dept. 5 / 5 Expressions Operator Precedence ●( ) ●+ n, –m ●*, / ●MOD ●+, – Example: Program File.Data.Code END
7
Princess Sumaya University 22342 – Computer Org. & Assembly Lang. Computer Engineering Dept. Chapter 3
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.