Class Notes for CPSC 355 at University of Calgary (U OF C)

U OF CCPSC 355Leonard ManzaraWinter

CPSC355 Lecture 1: CPSC 355 notes.docx

OC40520460 Page
10 May 2015
365
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 21: Specific Impulse, Subroutine, Machine Code

Ahmet Numan Aral5 Page
6 Nov 2016
9
Cpsc 355 - lecture 21 oct 31st. Int main( ){ structure employee joe; joe. id = 4001; joe. start. day = 1; joe. start. month = 6; joe. start. year = 199
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture 17: CPSC 355 - Lecture 17 – Oct 21st

Ahmet Numan Aral3 Page
30 Oct 2016
4
Cpsc 355 - lecture 17 oct 21st. Addr: expression specifying the address in memory to read from: loads register with 8 bytes read from ram, eg: ldr, 32-
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 28: Gnu Debugger, Assembly Language, Function Prototype

Ahmet Numan Aral5 Page
27 Nov 2016
10
Cpsc 355 - lecture 28 nov 21st. Example using two separate assembly code files. global stp adrp x19, a_m add x19, x19, :lo12:a_m ldr w0, [x19] bl myfun
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 30: File Descriptor, Assembly Language, Standard Streams

Ahmet Numan Aral5 Page
27 Nov 2016
15
Eg: opening an existing file called myfile. bin. Cpsc 355 - lecture 30 nov 25th. // error handling code (cid:862)(cid:373)yfile. bi(cid:374)(cid:863) w
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 27: Object Code, Gnu Compiler Collection, Entry Point

Ahmet Numan Aral4 Page
21 Nov 2016
8
Cpsc 355 - lecture 27 nov 18th. Equivalent assembly code define(i_r, w19) define(base_r, x20) fmt: spr_m: sum_m: fall_m: win_m season_m: . dword (cid:8
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 25: .Bss, Global Variable, Segmentation Fault

Ahmet Numan Aral5 Page
21 Nov 2016
4
Cpsc 355 - lecture 25 nov 14th. Global variables: scope: global (from declaration onwards, lifetime: life of program, are stored in a separate section
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 19: Assembly Language

Ahmet Numan Aral3 Page
30 Oct 2016
6
Cpsc 355 - lecture 19 oct 26th. Array elements are accessed using load and store instructions: eg: ia[2] = 13; define(ia_base_r, x19) define(index_r, x
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 24: Call Stack, The Fp, Subroutine

Ahmet Numan Aral5 Page
21 Nov 2016
3
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 12: Sign Bit

Ahmet Numan Aral2 Page
30 Oct 2016
9
Cpsc 355 - lecture 12 oct 7th. Logical shift right: form (64-bit): lsr xd, xn, xm. Xm: shift count: 0 is shifted into leftmost bit. Shifted out bits ar
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 4: Complex Instruction Set Computing, Emacs, Opcode

Ahmet Numan Aral3 Page
30 Oct 2016
8
Cpsc 355 - lecture 4 - sept 19th. May have instructions that take many cycles to execute. Machine instructions vary in length, and may be followed by (
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 29: File Descriptor, Service Catalog, System Call

Ahmet Numan Aral3 Page
27 Nov 2016
6
Cpsc 355 - lecture 29 nov 23rd. Since out arm server are running a linux os, only system i/o is available. O user-level programs communicate with exter
View Document

Class Notes (1,200,000)
CA (660,000)
U of C (9,000)
CPSC (100)
CPSC 355 (30)