1 / 19

Introduction to Machine And Assembly Language

Okay

toril
Download Presentation

Introduction to Machine And Assembly Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Introduction to Machine And Assembly Language Defining Data Dr. Richard Ford

    2. Okay… We’ve got our first program working (yippee!) We (sort of) understand syntax But how do we define data?

    3. Data in Java Significantly richer group of data types Leverage an abstraction of what’s going on underneath Protection from the common mistakes… It’s very different in Assembly language

    4. Intrinsic Types Basically, the primitive building blocks inside of MASM

    5. How to Define Data Actually, very straightforward… [name] directive initializer [,initializer] … Initializers: Set initial value and is required for data Can be a ? which does not specify a particular value All values are converted to binary

    6. Simple Examples Value1 BYTE ‘A’ Value2 BYTE 0 Value3 SBYTE -127 Value4 BYTE ?

    7. More Interesting Examples…

More Related