计算机组成与设计-7.ppt

计算机组成与设计-7

CS61C L221 Performance ? UC Regents Review Simplifying MIPS: Define instructions to be same size as data word (one word) so that they can use the same memory (compiler can use lw and sw). Computer actually stores programs as a series of these 32-bit numbers. MIPS Machine Language Instruction: 32 bits representing a single instruction I-Format Problems (0/3) Problem 0: Unsigned # sign-extended? addiu, sltiu, sign-extends immediates to 32 bits. Thus, # is a “signed” integer. Rationale addiu so that can add w/out overflow See KR pp. 230, 305 sltiu suffers so that we can have ez HW Does this mean

文档评论(0)

1亿VIP精品文档

相关文档