Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Technical Seminar GUMNUT Assembler & Instruction Encoding

No description
by

sushma huddar

on 5 January 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Technical Seminar GUMNUT Assembler & Instruction Encoding

Directive gives instruction to the assembler

A directive does not represent a CPU instruction.

Rather, it tells the assembler what to do when
translating the program.

Gasm maintains a text location counter representing the next address in the text memory image to be filled. It is initialized to 0 at the start of assembly.
As each instruction is translated, it is written to the text memoryimage at the address given by the text location counter, and the text location counter is incremented. An instruction can only appear in a Gasmprogram if the text memory image is selected.
Assembly starts with the text memory image selected.
The Text Directive

The org directive sets the currently selected location counter to a specified
value. The format of the directive is:

org expression



T h e o r g d i r e c t i v e
Gasm maintains a data location counter representing the next address in the data memory image to be filled.
It is initialized to 0 at the start of assembly.
As byte, ascii, asciz and bss directives reserve space in the data memory, the data location counter is incremented by the amount of space reserved. Those directives can only appear in a Gasm program if the data memory image is selected. Thus, a data directive must precede them.

The Data Directive

Technical Seminar GUMNUT Assembler & Instruction Encoding

By
Sushma Huddar

Directive

The Byte Directive

The byte directive reserves one or more locations in the data memory image
and initializes them to specified values.


[label:] byte expression {, expression}

Any Questions????

06-01-2014

Instruction Encoding

06-01-2014

Picoblaze
ARM
POWER PC
MIPS
Tensilca


Other CPU Instruction Set

06-01-2014

THANK YOU

06-01-2014

An Example for instruction encoding

24

r5

r3

fn

06-01-2014

Instruction Encoding

An Example for instruction encoding

Other CPU Instruction Set

Picoblaze
POWER PC
ARM
MIPS
Tensilca


Any Questions????

THANK YOU

References
[1]Ashenden, Peter J. Digital design (Verilog): an embedded systems approach using Verilog. Access Online via Elsevier, 2007.

[2] Gasm technical reference manual
Full transcript