Invention Grant
- Patent Title: Simple stack types
- Patent Title (中): 简单堆栈类型
-
Application No.: US12119151Application Date: 2008-05-12
-
Publication No.: US07975121B2Publication Date: 2011-07-05
- Inventor: Juan Chen , Chris Hawblitzel , Frances Perry
- Applicant: Juan Chen , Chris Hawblitzel , Frances Perry
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Lee & Hayes, PLLC
- Main IPC: G06F12/00
- IPC: G06F12/00

Abstract:
Embodiments that facilitate type checking of assembly language instructions are disclosed. In one embodiment, a method includes receiving a low level language instruction in a memory. The instruction includes a word having a first type. The memory includes either a stack or a heap. Each of the stack or heap includes a plurality of positions. The method also includes labeling the plurality of positions in one of the stack or the heap as one or more specified positions and one or more unspecified positions. The method further includes assigning a second type to the memory, the second type including the first type of the word. The word is stored in a specified position or an unspecified position. The method additionally includes determining whether the instruction is well-typed by applying one or more rules to the instruction and to the second type.
Public/Granted literature
- US20090282208A1 SIMPLE STACK TYPES Public/Granted day:2009-11-12
Information query