From 86f7935d96debd2defeed4cd67f2dedc157fec7f Mon Sep 17 00:00:00 2001 From: kekeandzeyu Date: Tue, 15 Oct 2024 13:15:41 +0800 Subject: [PATCH] add more notes in data structures and algorithms --- Writerside/topics/Computer-Architecture.md | 32 ++++++++++------------ Writerside/topics/Python-Programming.md | 3 +- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/Writerside/topics/Computer-Architecture.md b/Writerside/topics/Computer-Architecture.md index 1f3fa0d..9870e24 100644 --- a/Writerside/topics/Computer-Architecture.md +++ b/Writerside/topics/Computer-Architecture.md @@ -63,8 +63,7 @@ C++ programming.

2\text{A}5\text{D}_{16} = 0\text{x}22400

  • -

    A convenient shorthand for writing long sequences of bits. -

    +

    A convenient shorthand for writing long sequences of bits.

  • @@ -91,8 +90,7 @@ Conversion"/>
  • -

    Check the powers of the base. For base-4: 256, 64, 16, 4, 1. -

    +

    Check the powers of the base. For base-4: 256, 64, 16, 4, 1.

  • How many multiples of 64 fit in my number (73)?

    @@ -1168,20 +1166,20 @@ operations

  • -

    Small memories of a fixed size.

    +

    Small memories of a fixed size.

  • -

    Can be read or written.

    +

    Can be read or written.

  • -

    Limited in number.

    +

    Limited in number.

  • -

    Very fast and low power to access.

    +

    Very fast and low power to access.

  • - +
    @@ -1207,25 +1205,25 @@ operations

    Registers
    -Registers +Registers

    Some important notes about registers:

  • -

    Each ISA has a predetermined number of registers, registers are -built in with hardware.

    +

    Each ISA has a predetermined number of registers, registers are + built in with hardware.

  • -

    Register denoted by 'x' can be referenced by number (x0 - x31) or -by name.

    +

    Register denoted by 'x' can be referenced by number (x0 - x31) or + by name.

  • -

    Registers have no type.

    +

    Registers have no type.

  • -

    Register zero (x0 or zero) always has the value 0 and cannot be -changed! Any instruction writing to x0 has no effect!

    +

    Register zero (x0 or zero) always has the value 0 and cannot be + changed! Any instruction writing to x0 has no effect!

  • In high-level languages, number of variables limited only by diff --git a/Writerside/topics/Python-Programming.md b/Writerside/topics/Python-Programming.md index 55fc3d0..f727128 100644 --- a/Writerside/topics/Python-Programming.md +++ b/Writerside/topics/Python-Programming.md @@ -309,8 +309,7 @@ for key in list(dict.keys()):

    Unicode:

  • -

    UCS-2: 2 bytes, 16 bits - .

    +

    UCS-2: 2 bytes, 16 bits.

  • UCS-4: 4 bytes, 32 bits