comparchsp15_ec1_introcomparchsp15_lec1_introcomparchsp15_lec1_introcomparchsp15_lec1_intro.pptVIP

  • 3
  • 0
  • 约1.63万字
  • 约 39页
  • 2017-03-18 发布于贵州
  • 举报

comparchsp15_ec1_introcomparchsp15_lec1_introcomparchsp15_lec1_introcomparchsp15_lec1_intro.ppt

comparchsp15_ec1_introcomparchsp15_lec1_introcomparchsp15_lec1_introcomparchsp15_lec1_intro

* Computer Architecture Lecture 1 * Computational instruction examples Say $t0 = 0 $t1 = 0 $t2 = 0xFFFFFFFF What are the results of the following instructions? sub $t3, $t1, $t0 addi $t4, $t1, 0xFFFF andi $t5, $t2, 0xFFFF sll $t6, $t0, 5 slt $t7, $t0, $t1 lui $t8, 0x1234 * Computer Architecture Lecture 1 * Solutions to examples If $t0 = 0 $t1 = 0 $t2 = 0xFFFFFFFF sub $t3, $t1, $t0 $t3 = 0– 0= 0addi $t4, $t1, 0xFFFF $t4 = 0+ 0xFFFFFFFF = 0andi $t5, $t2, 0xFFFF $t5 = 0xFFFFFFFF AND 0x0000FFFF = 0x0000FFFF

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档