Thursday , 21 November 2024

CS401

CS401 Assignments # 2 Solution Spring 2012

Question no. 1: Assuming the following Assembly language code, assemble it and at the end of each instruction, show the changed values ofALand the indicated FLAGS. MOVAL, 8Bh                      AL=8B, CF = 0, SF = 0, PF = 0, ZF = 0; ADDAL, 22h                        AL=AD, CF = 0, SF = 1, PF = 0, ZF = 0; AND Al, 1000101b               AL=05, CF = 0, …

Read More »

CS401 Assignments # 1 Solution Spring 2012

Question No. 1: Calculate physical address of your AFD window contains CS and IP register (segment offset pairs). Explain each and every step for calculating the physical address.  Note: Provide snapshot of your AFD window. Please give us this type of your AFD window and mention which segment register value and offset value you have used for calculating physical address. …

Read More »