repo_id stringlengths 5 115 | size int64 590 5.01M | file_path stringlengths 4 212 | content stringlengths 590 5.01M |
|---|---|---|---|
Herring-UGAECSE-4230/Group-2 | 1,218 | Assembly/LoopsBranches/2_loop_Prog4_1/2_loop_Prog4_1.s | @ Deliverable 1: What is the function of the program?
@ Deliverable 2: What is the function of ".req"?
@ Deliverable 3: Describe the bhs instruction. How does it work?
@ Deliverable 4: What is the final value in R0 at end of program (In decimal)
@ Deliverable 5: Now, change the bhs instruction to an instruction that... |
Herring-UGAECSE-4230/Group-2 | 1,439 | Assembly/LoopsBranches/3_loop_Prog4_1/3_loop_Prog4_1.s | @ This program revisits the prior program but uses conditional instructions in place of some of the bxx instructions.
@ Deliverable 1: Describe the function of the program
@ Deliverable 2: What is the function of the movlo instruction, how does it work?
@ Deliverable 3: What is another mov"xx" instruction that would h... |
Herring-UGAECSE-4230/Group-2 | 1,251 | Assembly/FunctionStack/FuncStack2_Prog4_3/FuncStack2_Prog4_3.s | @ Deliverable 1: Describe the function of the program.
@ Deliverable 2: Why is "bl fill" the first instruction executed?
@ Deliverable 3: Describe the function of the .space 40 directive.
@ Deliverable 4: Why is #4 added to the registers in the program?
.data
a: .space 40
b: .space 40
.text
@ ----------------bl... |
Herring-UGAECSE-4230/Group-2 | 1,052 | Assembly/EquReqData/6_strb_ex2_3/6_strb_ex2_3.s | @ Deliverable: State the contents of memory locations at data_store after the program is executed. Add instructions prior to the
@ the last two instructions to show the contents of data_store in registers R2 and R3
@ Deliverable: What does the strb instruction do?
@ Deliverable: What does the .space compiler di... |
Herring-UGAECSE-4230/Group-2 | 3,028 | Assembly/SquareWave/GPIO_ON/GPIO_ON.s | @ mmap part taken from by https://bob.cs.sonoma.edu/IntroCompOrg-RPi/sec-gpio-mem.html
@ Constants for blink at GPIO21
@ GPFSEL2 [Offset: 0x08] responsible for GPIO Pins 20 to 29
@ GPCLR0 [Offset: 0x28] responsible for GPIO Pins 0 to 31
@ GPSET0 [Offest: 0x1C] responsible for GPIO Pins 0 to 31
@ GPOI21 Relate... |
Herring-UGAECSE-4230/Group-2 | 3,718 | Assembly/SquareWave/GPIO_SQUAREWAVE/Linux_asm_squarewave_final.s |
@ Constants for blink at GPIO21
@ GPFSEL2 [Offset: 0x08] responsible for GPIO Pins 20 to 29
@ GPCLR0 [Offset: 0x28] responsible for GPIO Pins 0 to 31
@ GPSET0 [Offest: 0x1C] responsible for GPIO Pins 0 to 31
@ GPOI21 Related
.equ GPFSEL2, 0x08 @ function register offset
.equ GPCLR0, 0x28 @ clear register o... |
Herring-UGAECSE-4230/Group-2 | 2,928 | Assembly/SquareWave/GPIO_OFF/GPIO_OFF.s | @ Constants for blink at GPIO21
@ GPFSEL2 [Offset: 0x08] responsible for GPIO Pins 20 to 29
@ GPCLR0 [Offset: 0x28] responsible for GPIO Pins 0 to 31
@ GPSET0 [Offest: 0x1C] responsible for GPIO Pins 0 to 31
@ GPOI21 Related
.equ GPFSEL2, 0x08 @ function register offset
.equ GPCLR0, 0x28 @ clear register of... |
Herring-UGAECSE-4230/Group-2 | 2,051 | Assembly/SignedNumbers/1_flags_ex5_13/1_flags_ex5_13.s | @ Assume you are using signed 32 bit signed numbers
@ Deliverable1:What are the states of the V, N, and C flags after the first adds instruction?
@ Deliverable2:For the first adds, what is the expected and actual result? Is the result correct?
@ Deliverable3:What are the states of the V, N, and C flags after the secon... |
Herring-UGAECSE-4230/Group-2 | 1,041 | Assembly/SignedNumbers/2_flagsfixed_ex5_13/2_flagsfixed_ex5_13.s | @ This program looks at 8-bit signed numbers and how to use the sign extended instructions. Make sure you consider the answers as 8-bit.
@ Deliverable 1: What are the V, N, and C flags after the first adds instruction executes?
@ Deliverable 2: What is the expected and actual result? Is it correct?
@ Deliverable 3: No... |
Herring-UGAECSE-4230/Group-2 | 1,465 | Assembly/SignedNumbers/4_lowest_prog5_2/4_lowest_prog5_2.s | @This program finds the lowest of signed numbers. This program introduces b, beq, cmp, and movlt (conditional mov instruction)
@ Deliverable 1: Describe how the program works. Make sure you describe the pointer and counter function.
@ Note: For each of 2-5, make sure you include flags in your discussion of "how does ... |
heyitscarl-dev/mynd | 5,073 | res/main.s |
.intel_syntax noprefix
.section .bss
.lcomm dat, 30000
.section .text
.global _start
_start:
lea rsi, [dat]
add byte ptr [rsi], 1
l1s:
cmp byte ptr [rsi], 0
je l1e
sub byte ptr [rsi], 5
add rsi, 1
add byte ptr [rsi], 3
sub rsi, 1
jmp l1s
l1e:
add rsi, 1
add byte ptr [rsi], 1
mov rax, 1
mov rdi, 1
mov rsi, rs... |
hezhujun/os-x86-rust | 4,532 | os/src/intr/trap.S | .global intr_handler
.altmacro
.macro handle_intr
push edi
push esi
push ebp
push ebx
push edx
push ecx
push eax
xor eax, eax
mov eax, gs
push eax
mov eax, fs
push eax
mov eax, ds
push eax
mov eax, es
push eax
mov eax, 0x1234
push eax
call intr_handler
jmp intr_exit
.endm
.macr... |
hezhujun/os-x86-rust | 5,195 | os/src/boot/loader.s | ; load kernel
RPL0 equ 00b
RPL1 equ 01b
RPL2 equ 10b
RPL3 equ 01b
TI_GDT equ 000b
TI_LDT equ 100b
CODE_SELECTOR equ (1 << 3) | TI_GDT | RPL0
DATA_SELECTOR equ (2 << 3) | TI_GDT | RPL0
PTE_ATTR_P equ 1
PTE_ATTR_RW equ 10b
PTE_ATTR_U equ 100b
section mbr vstart=0x90000
BASE_ADDRESS equ $
GDT_BASE: dd 0x0
dd ... |
hi-cky/rCore_learning | 2,232 | os/src/trap/trap.S | .altmacro
.macro SAVE_GP n
sd x\n, \n*8(sp)
.endm
.macro LOAD_GP n
ld x\n, \n*8(sp)
.endm
.section .text
.globl __alltraps
.globl __restore
.globl __init
.align 2
__alltraps:
csrrw sp, sscratch, sp
# now sp->kernel stack, sscratch->user stack
# allocate a TrapContext on kernel st... |
hicode002/mtkclientnew | 7,195 | src/da_x/common/start.S | /* Copyright 2024 (c) B.Kerler */
/* Use of this source code is governed by a GPLv3 license, see LICENSE.txt. */
.syntax unified
.code 32
.global start
.section .text.start
start:
add r3, pc, #1
bx r3
.global apmcu_dcache_clean_invalidate
.section .text
.type apmcu_dcache_clean_invalidate,%function
apmcu... |
hicode002/mtkclientnew | 7,083 | src/da_xml/common/start.S | .syntax unified
.code 32
.global start
.section .text.start
start:
#add r3, pc, #1
#bx r3
.global apmcu_dcache_clean_invalidate
.section .text
.type apmcu_dcache_clean_invalidate,%function
apmcu_dcache_clean_invalidate:
push {r4,r5,r7,r9,r10,r11}
dmb /* ensur... |
HighlyExistant/coroutines | 1,098 | src_asm/main.s | .text
.global co_yield
.global co_enter
// fn(stack: *mut c_void)
co_yield:
// Save context of the current thread
sub $64, %rsp
movq %r15, 0(%rsp)
movq %r14, 8(%rsp)
movq %r13, 16(%rsp)
movq %r12, 24(%rsp)
movq %rsi, 32(%rsp)
movq %rdi, 40(%rsp)
movq %rbp, 48(%rsp)
movq %rbx, 56(... |
HippopoStar/yak | 1,321 | asm/src/boot.s |
; Intel 80386 Programmer's Reference Manual
; - 2.4 Instruction Format
; - 2.5.3.2 Effective-Address Computation
; - 3.5.2.3 Executing a Loop or Repeat Zero Times
; NASM - The Netwide Assembler
; - 3.2.2 RESB and Friends: Declaring Uninitialized Data
; - 3.2.4 EQU: Defining Constants
; - 3.9 Local Labels
; - 7.1 BITS... |
hj-core/rCore-Tutorial-v3__hj | 2,011 | os/src/entry.S | .set PAGE_OFFSET, 0xffffffc000000000
.set SATP_SV39_MODE, 8
.set PTE_FLAG_RWXV, 0xf
.section .text.entry
.global _start
_start:
la sp, kernel_stack_end
call .L_activate_boot_pgt
li t6, PAGE_OFFSET # Adjust SP
add sp, sp, t6
la t0, rust_main # Jump to VA(rust_m... |
hj-core/rCore-Tutorial-v3__hj | 1,781 | os/src/trap/trap.S | .altmacro
.macro save_xn n
sd x\n, \n*8(tp)
.endm
.macro load_xn n
ld x\n, \n*8(tp)
.endm
.global __stvec
.global __restore_u_ctx
/* The lowest two bits are always zero and are overridden
* by mode.
*/
.align 2
__stvec:
csrrw tp, sscratch, tp
/* If tp == 0, the trap is caus... |
hkder/rust-raspberrypi-OS-tutorials | 1,873 | 03_hacky_hello_world/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 4,259 | 13_exceptions_part2_peripheral_IRQs/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,410 | 13_exceptions_part2_peripheral_IRQs/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,148 | 08_hw_debug_JTAG/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 4,259 | 11_exceptions_part1_groundwork/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,410 | 11_exceptions_part1_groundwork/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 5,990 | 20_timer_callbacks/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 3,575 | 20_timer_callbacks/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 5,990 | 18_backtrace/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 3,575 | 18_backtrace/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 4,259 | 17_kernel_symbols/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 3,575 | 17_kernel_symbols/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,148 | X1_JTAG_boot/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,148 | 07_timestamps/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,544 | 06_uart_chainloader/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 1,873 | 04_safe_globals/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 1,873 | 05_drivers_gpio_uart/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 4,259 | 15_virtual_mem_part3_precomputed_tables/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,566 | 15_virtual_mem_part3_precomputed_tables/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 1,873 | 02_runtime_init/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,410 | 09_privilege_level/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 4,259 | 14_virtual_mem_part2_mmio_remap/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,410 | 14_virtual_mem_part2_mmio_remap/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 5,990 | 19_kernel_heap/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 3,575 | 19_kernel_heap/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 4,259 | 16_virtual_mem_part4_higher_half_kernel/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 3,575 | 16_virtual_mem_part4_higher_half_kernel/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 4,259 | 12_integrated_testing/kernel/src/_arch/aarch64/exception.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,410 | 12_integrated_testing/kernel/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hkder/rust-raspberrypi-OS-tutorials | 2,410 | 10_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu/boot.s | // SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------------... |
hky1999/arceos-vmm-tutorial | 1,060 | guest/bios/boot16.S | .section .text
.code16
.global entry16
entry16:
cli
cld
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
lgdt [prot_gdt_desc]
mov eax, cr0
or eax, 0x1
mov cr0, eax
ljmp 0x8, entry32
.code32
.global entry32
entry32:
mov ax, 0x10
mo... |
how-to-commit/rosti | 1,074 | src/boot.s | // from osdev barebones
// Multiboot constants
.set ALIGN, 1<<0
.set MEMINFO, 1<<1
.set FLAGS, ALIGN | MEMINFO
.set MAGIC, 0x1BADB002
.set CHECKSUM, -(MAGIC + FLAGS)
// Multiboot header
.section .multiboot
.align 4
.long MAGIC
.long FLAGS
.long CHECKSUM
// Allocate 16kb stack with 16-byte alignment
.section .bss
.al... |
Huzhiwen1208/polyhal-with-libos | 3,481 | src/x86_64/multiboot.S | # Bootstrapping from 32-bit with the Multiboot specification.
# See https://www.gnu.org/software/grub/manual/multiboot/multiboot.html
.section .text.entry
.code32
.global _start
_start:
mov edi, eax # arg1: magic: 0x2BADB002
mov esi, ebx # arg2: multiboot info
jmp bsp_entry32
.ba... |
Huzhiwen1208/polyhal-with-libos | 3,475 | src/aarch64/trap.S | .macro INVALID_EXCP, kind, source
.p2align 7
msr daifset, #2
sub sp, sp, 35 * 8
stp x0, x1, [sp]
stp x2, x3, [sp, 2 * 8]
stp x4, x5, [sp, 4 * 8]
stp x6, x7, [sp, 6 * 8]
stp x8, x9, [sp, 8 * 8]
stp x10, x11, [sp, 10 * 8]
stp x12, x13, [sp, 12 * 8]
s... |
hvrsim/roanix | 2,640 | kernel/src/arch/x86_64/trap.S | .section .text
.extern handle_syscall
.extern handle_trap
.globl syscall_entry
.globl trap_entry
.globl vstub0
syscall_entry:
/* Perform a swapgs and switch to the kernel stack. */
swapgs
mov rsp, gs:8
mov gs:0, rsp
sti
/* Create a fake trap frame header. */
push 0x38
push gs:16
p... |
Hydrostic/ChibiMOS | 1,224 | os/src/link_app.S |
.align 3
.section .data
.global _num_app
_num_app:
.quad 6
.quad app_0_start
.quad app_1_start
.quad app_2_start
.quad app_3_start
.quad app_4_start
.quad app_5_start
.quad app_5_end
.section .data
.global app_0_start
.global app_0_end
app_0_start:
.incbin "... |
Hydrostic/ChibiMOS | 2,219 | os/src/trap/trap.S |
.altmacro
# Important to add line above
.macro SAVE_GP n
sd x\n, \n*8(sp)
.endm
.macro LOAD_GP n
ld x\n, \n*8(sp)
.endm
.section .text.trampoline
.globl __alltraps
.globl __restore
.align 2
# Used cs registers:
# stvec: trap vector base address
# sscratch: scratch register for trap handling
# s... |
HZxCzar/ACore | 7,892 | os/src/link_app.S |
.align 3
.section .data
.global _num_app
_num_app:
.quad 34
.quad app_0_start
.quad app_1_start
.quad app_2_start
.quad app_3_start
.quad app_4_start
.quad app_5_start
.quad app_6_start
.quad app_7_start
.quad app_8_start
.quad app_9_start
.quad app_10_start
... |
ianzvoi/ates | 1,611 | src/tasks/coop/switcher.s | .section .text
# store context only.
.global _sw_store
_sw_store:
sw sp , (a0)
sw ra , 4(a0)
sw s0 , 8(a0)
sw s1 , 12(a0)
sw s2 , 16(a0)
sw s3 , 20(a0)
sw s4 , 24(a0)
sw s5 , 28(a0)
sw s6 , 32(a0)
sw s7 , 36(a0)
sw s8 , 40(a0)
sw s9 , 44(a0)
... |
ianzvoi/ates | 1,496 | src/tasks/ith/ITH.s | .section .text.it
.global _it_handler
_it_handler:
csrrw a0, mscratch, a0
sw sp , (a0)
sw ra , 4(a0)
sw s0 , 8(a0)
sw s1 , 12(a0)
sw s2 , 16(a0)
sw s3 , 20(a0)
sw s4 , 24(a0)
sw s5 , 28(a0)
sw s6 , 32(a0)
sw s7 , 36(a0)
sw s8 , 40(a0)
sw s9 , ... |
IITGN-Operating-Systems/cs330_os | 3,233 | kern/src/init/init.s | // #define EL0 0b00
// #define EL1 0b01
// #define EL2 0b10
// #define EL3 0b11
.section .text.init
.global _start
_start:
// read cpu affinity, start core 0, halt rest
mrs x1, MPIDR_EL1
and x1, x1, #3
cbz x1, setup
halt:
// core affinity != 0, halt it
wfe
b halt
setup:... |
IITGN-Operating-Systems/dinos | 3,233 | kern/src/init/init.s | // #define EL0 0b00
// #define EL1 0b01
// #define EL2 0b10
// #define EL3 0b11
.section .text.init
.global _start
_start:
// read cpu affinity, start core 0, halt rest
mrs x1, MPIDR_EL1
and x1, x1, #3
cbz x1, setup
halt:
// core affinity != 0, halt it
wfe
b halt
setup:... |
IITGN-Operating-Systems/oxidation-barely-operational | 3,233 | kern/src/init/init.s | // #define EL0 0b00
// #define EL1 0b01
// #define EL2 0b10
// #define EL3 0b11
.section .text.init
.global _start
_start:
// read cpu affinity, start core 0, halt rest
mrs x1, MPIDR_EL1
and x1, x1, #3
cbz x1, setup
halt:
// core affinity != 0, halt it
wfe
b halt
setup:... |
IITGN-Operating-Systems/oxidation-os_group_2 | 3,233 | kern/src/init/init.s | // #define EL0 0b00
// #define EL1 0b01
// #define EL2 0b10
// #define EL3 0b11
.section .text.init
.global _start
_start:
// read cpu affinity, start core 0, halt rest
mrs x1, MPIDR_EL1
and x1, x1, #3
cbz x1, setup
halt:
// core affinity != 0, halt it
wfe
b halt
setup:... |
IITGN-Operating-Systems/oxidation-exit-0-team | 3,233 | kern/src/init/init.s | // #define EL0 0b00
// #define EL1 0b01
// #define EL2 0b10
// #define EL3 0b11
.section .text.init
.global _start
_start:
// read cpu affinity, start core 0, halt rest
mrs x1, MPIDR_EL1
and x1, x1, #3
cbz x1, setup
halt:
// core affinity != 0, halt it
wfe
b halt
setup:... |
Ijiamuyu/stm32mp157_cm4 | 14,249 | bsp/arch/start.s | /**
******************************************************************************
* @file startup_stm32l496xx.s
* @author MCD Application Team
* @brief STM32L496xx devices vector table GCC toolchain.
* This module performs:
* - Set the initial SP
* - S... |
iLx11/hd-project-template | 28,409 | KEIL/F407ZGT6/Project/RTE/Device/STM32F407ZGTx/startup_stm32f407xx.s | ;*******************************************************************************
;* File Name : startup_stm32f407xx.s
;* Author : MCD Application Team
;* Description : STM32F407xx devices vector table for MDK-ARM toolchain.
;* This module performs:
;* ... |
iLx11/hd-project-template | 28,801 | KEIL/F407ZGT6/Libraries/CMSIS/startup/startup_stm32f40_41xxx.s | ;******************** (C) COPYRIGHT 2016 STMicroelectronics ********************
;* File Name : startup_stm32f40_41xxx.s
;* Author : MCD Application Team
;* @version : V1.8.1
;* @date : 27-January-2022
;* Description : STM32F40xxx/41xxx devices vector table for MDK-ARM... |
iLx11/hd-project-template | 28,889 | KEIL/F407ZGT6/Libraries/CMSIS/startup/startup_stm32f40xx.s | ;******************** (C) COPYRIGHT 2016 STMicroelectronics ********************
;* File Name : startup_stm32f40xx.s
;* Author : MCD Application Team
;* @version : V1.8.1
;* @date : 27-January-2022
;* Description : STM32F40xxx/41xxx devices vector table for MDK-ARM too... |
iLx11/hd-project-template | 15,145 | KEIL/F103VET6/Project/RTE/Device/STM32F103VE/startup_stm32f10x_hd.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd.s
;* Author : MCD Application Team
;* Version : V3.5.0
;* Date : 11-March-2011
;* Description : STM32F10x High Density Devices vector table for MDK-AR... |
iLx11/hd-project-template | 28,409 | KEIL/F103VET6/Project/RTE/Device/STM32F407ZGTx/startup_stm32f407xx.s | ;*******************************************************************************
;* File Name : startup_stm32f407xx.s
;* Author : MCD Application Team
;* Description : STM32F407xx devices vector table for MDK-ARM toolchain.
;* This module performs:
;* ... |
iLx11/hd-project-template | 16,359 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_xl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_xl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x XL-Density Devices vector table for EWAR... |
iLx11/hd-project-template | 13,301 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_md_vl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_md_vl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Medium Density Value Line Devices vec... |
iLx11/hd-project-template | 15,960 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_hd.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x High Density Devices vector table for EW... |
iLx11/hd-project-template | 15,392 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_hd_vl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd_vl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x High Density Value Line Devices vecto... |
iLx11/hd-project-template | 12,629 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_md.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_md.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Medium Density Devices vector table for ... |
iLx11/hd-project-template | 12,357 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_ld.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_ld.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Low Density Devices vector table for EWA... |
iLx11/hd-project-template | 16,353 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_cl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics *******************
;* File Name : startup_stm32f10x_cl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Connectivity line devices vector table fo... |
iLx11/hd-project-template | 12,640 | KEIL/F103VET6/Libraries/CMSIS/startup/iar/startup_stm32f10x_ld_vl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_ld_vl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Low Density Value Line Devices vector... |
iLx11/hd-project-template | 15,340 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_xl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_xl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x XL-Density Devices vector table for MDK-... |
iLx11/hd-project-template | 13,501 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_md_vl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_md_vl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Medium Density Value Line Devices vec... |
iLx11/hd-project-template | 14,888 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_hd.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x High Density Devices vector table for MD... |
iLx11/hd-project-template | 15,089 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_hd_vl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd_vl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x High Density Value Line Devices vecto... |
iLx11/hd-project-template | 12,201 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_md.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_md.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Medium Density Devices vector table for ... |
iLx11/hd-project-template | 11,822 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_ld.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_ld.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Low Density Devices vector table for MDK... |
iLx11/hd-project-template | 15,141 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_cl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_cl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Connectivity line devices vector table f... |
iLx11/hd-project-template | 13,095 | KEIL/F103VET6/Libraries/CMSIS/startup/arm/startup_stm32f10x_ld_vl.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_ld_vl.s
;* Author : MCD Application Team
;* Version : V3.5.1
;* Date : 08-September-2021
;* Description : STM32F10x Low Density Value Line Devices vector... |
iLx11/hd-project-template | 12,457 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_xl.s | /**
******************************************************************************
* @file startup_stm32f10x_xl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x XL-Density Devices vector table for RIDE7 toolchain.
* This module ... |
iLx11/hd-project-template | 10,320 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_md_vl.s | /**
******************************************************************************
* @file startup_stm32f10x_md_vl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x Medium Density Value Line Devices vector table for RIDE7
* toolch... |
iLx11/hd-project-template | 12,356 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_hd.s | /**
******************************************************************************
* @file startup_stm32f10x_hd.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x High Density Devices vector table for RIDE7 toolchain.
* This modul... |
iLx11/hd-project-template | 11,701 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_hd_vl.s | /**
******************************************************************************
* @file startup_stm32f10x_hd_vl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x High Density Value Line Devices vector table for RIDE7
* toolchai... |
iLx11/hd-project-template | 9,572 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_md.s | /**
******************************************************************************
* @file startup_stm32f10x_md.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x Medium Density Devices vector table for RIDE7 toolchain.
* This modu... |
iLx11/hd-project-template | 9,131 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_ld.s | /**
******************************************************************************
* @file startup_stm32f10x_ld.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x Low Density Devices vector table for RIDE7 toolchain.
* This module ... |
iLx11/hd-project-template | 12,265 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_cl.s | /**
******************************************************************************
* @file startup_stm32f10x_cl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x Connectivity line Devices vector table for RIDE7 toolchain.
* This m... |
iLx11/hd-project-template | 9,840 | KEIL/F103VET6/Libraries/CMSIS/startup/gcc_ride7/startup_stm32f10x_ld_vl.s | /**
******************************************************************************
* @file startup_stm32f10x_ld_vl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x Low Density Value Line Devices vector table for RIDE7
* toolchain... |
iLx11/hd-project-template | 12,446 | KEIL/F103VET6/Libraries/CMSIS/startup/TrueSTUDIO/startup_stm32f10x_xl.s | /**
******************************************************************************
* @file startup_stm32f10x_xl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x XL-Density Devices vector table for TrueSTUDIO toolchain.
* This mo... |
iLx11/hd-project-template | 10,090 | KEIL/F103VET6/Libraries/CMSIS/startup/TrueSTUDIO/startup_stm32f10x_md_vl.s | /**
******************************************************************************
* @file startup_stm32f10x_md_vl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x Medium Density Value Line Devices vector table for Atollic
* too... |
iLx11/hd-project-template | 11,784 | KEIL/F103VET6/Libraries/CMSIS/startup/TrueSTUDIO/startup_stm32f10x_hd.s | /**
******************************************************************************
* @file startup_stm32f10x_hd.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x High Density Devices vector table for Atollic toolchain.
* This modu... |
iLx11/hd-project-template | 11,529 | KEIL/F103VET6/Libraries/CMSIS/startup/TrueSTUDIO/startup_stm32f10x_hd_vl.s | /**
******************************************************************************
* @file startup_stm32f10x_hd_vl.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x High Density Value Line Devices vector table for Atollic
* toolc... |
iLx11/hd-project-template | 9,653 | KEIL/F103VET6/Libraries/CMSIS/startup/TrueSTUDIO/startup_stm32f10x_md.s | /**
******************************************************************************
* @file startup_stm32f10x_md.s
* @author MCD Application Team
* @version V3.5.1
* @date 08-September-2021
* @brief STM32F10x Medium Density Devices vector table for Atollic toolchain.
* This mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.