text
stringlengths
1
1.05M
_read_clock: ;RTC.c,9 :: struct real_time_clock read_clock (){ MOVF R0, 0 MOVWF _read_clock_su_addr+0 MOVF R1, 0 MOVWF _read_clock_su_addr+1 ;RTC.c,13 :: I2C1_Start(); CALL _I2C1_Start+0, 0 ;RTC.c,14 :: I2C1_Wr(0xD0); MOVLW 208 MOVWF FARG_I2C1_...
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
; A116156: a(n) = 5^n * n*(n + 1). ; 0,10,150,1500,12500,93750,656250,4375000,28125000,175781250,1074218750,6445312500,38085937500,222167968750,1281738281250,7324218750000,41503906250000,233459472656250,1304626464843750,7247924804687500 mov $2,5 pow $2,$0 mul $2,$0 add $0,2 mul $0,$2 sub $0,$2 mov $1,$0
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1db7a, %rsi lea addresses_UC_ht+0x393a, %rdi nop nop nop nop nop dec %r12 mov $33, %rcx rep movsl nop nop sub $644, %rdi lea addresses_D_ht+0x2b3a, %rbp nop inc %r14 mov...
; int w_vector_shrink_to_fit(w_vector_t *v) SECTION code_clib SECTION code_adt_w_vector PUBLIC _w_vector_shrink_to_fit EXTERN _b_vector_shrink_to_fit defc _w_vector_shrink_to_fit = _b_vector_shrink_to_fit
; Copyright (c) 2005-2020 Intel Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed ...
; A146076: Sum of even divisors of n. ; 0,2,0,6,0,8,0,14,0,12,0,24,0,16,0,30,0,26,0,36,0,24,0,56,0,28,0,48,0,48,0,62,0,36,0,78,0,40,0,84,0,64,0,72,0,48,0,120,0,62,0,84,0,80,0,112,0,60,0,144,0,64,0,126,0,96,0,108,0,96,0,182,0,76,0,120,0,112,0,180,0,84,0,192,0,88,0,168,0,156,0,144,0,96,0,248,0,114,0,186,0,144,0,196,0,108...
;Testname=unoptimized; Arguments=-O0 -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin ;Testname=optimized; Arguments=-Ox -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin bits 64 foo: default abs mov al, [qword 0xffffffffffffffff] mov al, [qword 0x1ffffffffffffffff] mov cl, [byte 0x12345678] de...
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publi...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 0f in $0xf,%al 8010000c <entry>:...
; A161342: Number of "ON" cubic cells at n-th stage in simple 3-dimensional cellular automaton: a(n) = A160428(n)/8. ; 0,1,8,15,64,71,120,169,512,519,568,617,960,1009,1352,1695,4096,4103,4152,4201,4544,4593,4936,5279,7680,7729,8072,8415,10816,11159,13560,15961,32768,32775,32824,32873 mov $2,$0 mov $6,$0 lpb $2 mov $...
; this is an example of bios function: int 10h / ah=13h. ; refer to short list of dos interrupts for more info: ; c:\emu8086\documentation\ name "int10h" org 100h ; set es (just in case): push cs pop es mov bh, 0 ; page. lea bp, msg ; offset. mov bl, 0f3h ; default attribute. mov cx,...
lda #<{c1} sta ({z1}),y iny lda #>{c1} sta ({z1}),y
; A081656: 2*6^n-2^n. ; 1,10,68,424,2576,15520,93248,559744,3358976,20154880,120931328,725592064,4353560576,26121379840,156728311808,940369936384,5642219749376,33853318758400,203119913074688,1218719479496704,7312316879077376 mov $2,$0 mov $3,3 mov $4,$0 add $4,1 mul $4,5 mov $5,5 lpb $2 mov $1,2 lpb $4 mul $1,...
; attribute line offsets in the VRAM to control-key position KEY_ATTR_OFS_HELP equ 0 KEY_ATTR_OFS_TURBO equ 5 KEY_ATTR_OFS_FULL equ 10 KEY_ATTR_OFS_RUN equ 15 KEY_ATTR_OFS_CORE equ 22 KEY_ATTR_OFS_INSTR equ 27 CHARPOS_INS_END equ 13 CHARPOS_ENCODING equ 15 CHARPOS_INS_...
; A282097: Coefficients in q-expansion of (3*E_2*E_4 - 2*E_6 - E_2^3)/1728, where E_2, E_4, E_6 are the Eisenstein series shown in A006352, A004009, A013973, respectively. ; 0,1,12,36,112,150,432,392,960,1053,1800,1452,4032,2366,4704,5400,7936,5202,12636,7220,16800,14112,17424,12696,34560,19375,28392,29160,43904,25230,...
; int fsetpos_unlocked(FILE *stream, const fpos_t *pos) SECTION code_clib SECTION code_stdio PUBLIC _fsetpos_unlocked EXTERN asm_fsetpos_unlocked _fsetpos_unlocked: pop af pop ix pop hl push hl push hl push af jp asm_fsetpos_unlocked
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANAM_drawTW(unsigned char tile, unsigned char lin, unsigned char col)...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: ExpParser.cpp * Author: tonysulfaro * * Created on March 22, 2019, 9:08 PM */ #include "ExpParser.h"
SECTION code_crt0_sccz80 PUBLIC l_mod_u EXTERN ___divu16_bcde ; signed division ; hl = de/hl, de = de%hl l_mod_u: ; Delegate to the sdcc routine ; Entry BC=dividend, DE=divisor ; Exit: BC=quotient, DE=remainder ld c,l ld b,h call ___divu16_bcde ld l,e ld h,d ret
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="clock_id, evp, timerid"/> <%docstring> Invokes the syscall timer_create. See 'man 2 timer_create' for more information. Arguments: clock_id(clockid_t): clock_id evp(sigevent): evp timerid(timer_t): timerid </%docstring> ${syscall...
; A108288: Main diagonal of table A060543; a(n) = C((n+1)^2-1, n*(n+1)). ; 1,3,28,455,10626,324632,12271512,553270671,28987537150,1731030945644,116068178638776,8634941152058949,705873715441872264,62895036884524942320,6067037854078498539696,629921975126394617164575 mov $1,$0 add $0,2 mul $0,$1 bin $0,$1
// Copyright 2014 BitPay Inc. // Copyright (c) 2019 Bitcoin Association // Copyright (c) 2020* Jimmy N. Lose // * Gregorian calendar years // Distributed under the Open BSV software license, see the accompanying file LICENSE. #include <string.h> #include <vector> #include <stdio.h> #include "univalue.h" #include "univ...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; ssdt asm stub for 6.0.6001-sp1-windows-vista amd64 option casemap:none option prologue:none option epilogue:none .code ; ULONG64 __stdcall NtMapUserPhysicalPagesScatter( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windo...
; ; Z88 Graphics Functions - Small C+ stubs ; ; TI Calc version by Stefano Bodrato Mar - 2000 ; ; ; $Id: clg.asm,v 1.5 2017-01-02 22:57:59 aralbrec Exp $ ; INCLUDE "graphics/grafix.inc" ; Contains fn defs PUBLIC clg PUBLIC _clg EXTERN base_graphics EXTERN cpygraph .clg ._clg ld hl,(b...
/* * Copyright © <2010>, Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merg...
// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <limits> #include "src/common/globals.h" #include "src/compiler/node-matchers.h" #include "src/objects/objects-inl.h" #include "test/unittests...
; A274306: a(n) = Product_{k=1..n} (4*k^4+1). ; Submitted by Jon Maiga ; 1,5,325,105625,108265625,270772328125,1403954521328125,13484983177356640625,220951449360988556640625,5798870788479144669033203125,231960630409954265905997158203125,13584774319958971582784723570166015625 mov $2,1 lpb $0 mov $1,$0 sub $0,1 po...
; vim: set ft=nasm et: bits 64 %include "elf.inc" %include "linkscr.inc" org 0x10000 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; global _EHDR _EHDR: ehdr: ; e_ident db 0x7F, "ELF" db EI_CLASS, EI_DATA, EI_VERSION, 0;EI_OSABI db 0;EI_OSABIVERSION times 7 db 0 ...
SECTION code_clib PUBLIC in_LookupKey PUBLIC _in_LookupKey EXTERN in_keytranstbl ; Given the ascii code of a character, returns the scan row and mask ; corresponding to the key that needs to be pressed to generate the ; character. ; ; The scan row returned will have bit 7 set and bit 6 set to ; indicate if CAPS, SYM S...
// Copyright (c) 2002-2013, Boyce Griffith // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list o...
; A075411: Squares of A002276. ; 0,4,484,49284,4937284,493817284,49382617284,4938270617284,493827150617284,49382715950617284,4938271603950617284,493827160483950617284,49382716049283950617284,4938271604937283950617284,493827160493817283950617284,49382716049382617283950617284,4938271604938270617283950617284,4938271604938...
; ; PC-6001 specific routines ; by Stefano Bodrato, Fall 2013 ; ; int get_psg(int reg); ; ; Get a PSG register ; ; ; $Id: get_psg.asm,v 1.3 2016-06-10 21:13:58 dom Exp $ ; SECTION code_clib PUBLIC get_psg PUBLIC _get_psg ;;read & write ; ld a,register ; ld e,data ; call $1...
.386p ;对于驱动来说,和键盘相关的最重要的硬件是两个芯片。 ;一个是 intel 8042 芯片,位于主板上,CPU 通过 IO 端口直接和这个芯片通信,获得按键的扫描码或者发送各种键盘命令。 ;另一个是 intel 8048 芯片或者其兼容芯片,位于键盘中,这个芯片主要作用是从键盘的硬件中得到被按的键所产生的扫描码 与 i8042 通信控制键盘本身 ;最简单是用xlat指令 ;将ds:[BX]为首地址的,偏移地址为AL的内容送给AL Kernel Segment public para use32 assume cs:Kernel align 10h __kKeyBoardProc pr...
; unsigned char esx_m_tapein_open(unsigned char *filename) SECTION code_esxdos PUBLIC _esx_m_tapein_open_fastcall EXTERN asm_esx_m_tapein_open _esx_m_tapein_open_fastcall: push ix call asm_esx_m_tapein_open pop ix ret
; A097309: Chebyshev polynomials of the second kind, U(n,x), evaluated at x=13. ; Submitted by Jamie Morken(s1.) ; 0,1,26,675,17524,454949,11811150,306634951,7960697576,206671502025,5365498355074,139296285729899,3616337930622300,93885489910449901,2437406399741075126,63278680903357503375,1642808297087554012624,426497370...
#include "Mcu.inc" #include "TestFixture.inc" radix decimal AssertNoIsr code 0x0004 .assert "false, 'ISR should not be called during this test.'" retfie end
BITS 64 %macro OFFSET 0 push $ call getOffsetAddr %endmacro ;%macro BaseAddr 0 ; push $ ; call getBaseAddr ;%endmacro jmp ENTRY OC: db ORIGIN_CODE db 0x00 ENTRY: push rbp mov rbp , rsp sub rsp , 0x40 ; BaseAddr ; mov [rbp - 0x08] , rax O...
; A253120: Numbers n such that the sum of the octagonal numbers O(n), O(n+1), O(n+2) and O(n+3) is equal to the hexagonal number H(m) for some m. ; Submitted by Jon Maiga ; 6,705,69196,6780615,664431186,65107475725,6379868189976,625161975142035,61259493695729566,6002805220206355545,588213652086527113956,576389350992594...
; A004652: Expansion of x*(1+x^2+x^4)/((1-x)*(1-x^2)*(1-x^3)). ; 0,1,1,3,4,7,9,13,16,21,25,31,36,43,49,57,64,73,81,91,100,111,121,133,144,157,169,183,196,211,225,241,256,273,289,307,324,343,361,381,400,421,441,463,484,507,529,553,576,601,625,651,676,703,729,757,784,813,841,871,900,931,961,993,1024,1057,1089,1123,1156,1...
; A139279: a(n) = 40*n - 32. ; 8,48,88,128,168,208,248,288,328,368,408,448,488,528,568,608,648,688,728,768,808,848,888,928,968,1008,1048,1088,1128,1168,1208,1248,1288,1328,1368,1408,1448,1488,1528,1568,1608,1648,1688,1728,1768,1808,1848,1888,1928,1968,2008,2048,2088,2128,2168,2208,2248,2288,2328,2368,2408,2448,2488,252...
#include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; #ifdef HAVE_LIBREADLINE # if defined(HAVE_READLINE_READLINE_H) # include <readline/readline.h> # elif defined(HAVE_READLINE_H) # include <re...
;++ ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt). ; If you do not agree to the terms, do not use the code. ; ; Module Name: ; ; sysstubs.asm ; ; Abstrac...
BITS 64 global asm_strchr: section .text asm_strchr: ; the order of registers used is: %rdi, %rsi, %rdx, %rcx, %r8, and %r9 while: mov r8b, [rdi];pasamos a registro de 8 bites cmp r8b, sil;como el argumento es de 1 bit llega en sil je igual;salta si igual cmp r8b, 0;verificamos que no haya lleg...
#include <CEngine.h> engine::CVec3 g_lightDirPosition = { 0.0f, 5.0f, 0.0f }; engine::CVec3 g_lightPointPosition = { 0.0f, 5.0f, 0.0f }; engine::CVec3 g_lightSpotPosition = { 0.0f, 5.0f, 0.0f }; // engine::CVec3 g_lightDirPosition = { -2.0f, 4.0f, -1.0f }; // engine::CVec3 g_lightPointPosition = { -2.0f, 4...
CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP include errcodes.i include abcdregs.i MOUSEINT equ 51 public jgot_mouse ;Boolean ismouse(void); /* returns if mouse is installed */ jgot_mouse proc near push ds push ebx mov ax,34h ;Phar Lap's ms-dos segment mov ds,...
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp forktest(); 6: e8 35 00 00 00 c...
;; ;; Copyright (c) 2018-2020, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
; int fgetc_fastcall(FILE *stream) INCLUDE "clib_cfg.asm" SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _fgetc_fastcall EXTERN asm_fgetc _fgetc_fastcall: push hl pop ix jp asm_fgetc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ELSE ...
; A231280: Number of n X 3 0..3 arrays x(i,j) with each element horizontally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4, and upper left element zero. ; Submitted by Jon Maiga ; 0,2,8,66,400,2722,17688,117026,768800,5064642,33328168,219411586,1444225200,9506897762,62579419448,411934939746...
#include <bits/stdc++.h> #define ROW 3 #define COLUMN 4 using namespace std; /* You are given a 2-d matrix where each cell represents number of coins in that cell. Assuming we start at matrix[0][0], and can only move right or down, find the maximum number of coins you can collect by the bottom right corner. For examp...
; 16 bit dos assembly .model small .stack .data message db "Hello world!", "$" .code main proc mov ax,seg message mov ds,ax mov ah,09 lea dx,message int 21h mov ax,4c00h int 21h main endp end main
; A105427: Numbers n such that the near-repdigit number consisting of a 1 followed by n 3's (i.e., of form 1333...33) is composite. ; 2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68...
extrn _circle:byte extrn _circle2:byte code SEGMENT para public 'CODE' ASSUME cs:code .386 LOCALS ALIGN 16 _rows dw 200 dup(0) _blit16t dw 256 dup(0) _vbufseg dw 0 clipleft dw 0 polyisides dw 0 polyixy dw 16 dup(0,0) polysides dw 0 polyxy dw 16 dup(0,0) include polyclip.asm ALIGN 2 PUBLIC _sin1...
#include <cstdio> #include <queue> #define MAX 2001 char fields[MAX][MAX]; bool visited[MAX][MAX]; std::queue<std::pair<int,int> > kol; int cities = 0,n,m; void bfs(); int main() { scanf("%d %d",&n,&m);getchar(); for(int i = 0; i < n; i++) { fgets(fields[i],MAX+1,stdin); for(int j=0; j < m; j++ ) ...
; ; Copyright (c) 2010 The VP8 project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing projec...
page ,132 title 87disp - common transcendental dispatch routine ;*** ;87disp.asm - common transcendental dispatch routine (80x87/emulator version) ; ; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; Common transcendental dispatch routine (80x87/emulator version) ; ;Re...
levX0 ; PF0 byte %00000000 byte %00000000 byte %00000000 byte %11111111 byte %00000000 byte %00000000 byte %00000000 byte %11111111 byte %00000000 byte %00000000 byte %00000000 byte %11111111 ; PF1 byte %00000000 byte %00000000 byte %00000000 byte %11100000 byte %00000000 byt...
; ; jdmrgss2-64.asm - merged upsampling/color conversion (64-bit SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright 2009 D. R. Commander ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyr...
lc r4, 0x00000000 lc r5, 0x0000101f lc r6, 0x00000000 tlbse r6, r4 lc r8, 0x40000000 lc r9, 0x0000101f lc r10, 0x00000001 tlbse r10, r8 lc r11, 0xdeadbeef lc r12, 0x80000002 lc r13, 0x7fffffff st4 r11, r12, 2 ld1 r30, r13, 2 halt #@expected values #r4 = 0x0000000...
; void *p_forward_list_alt_back(p_forward_list_alt_t *list) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC p_forward_list_alt_back EXTERN asm_p_forward_list_alt_back defc p_forward_list_alt_back = asm_p_forward_list_alt_back ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_alt_back defc...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: importManager.asm AUTHOR: Maryann Simmons, Jul 13, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name D...
include 'macros.inc' .8086 .MODEL SMALL .STACK 256 DATA SEGMENT SPACE DB " $" X_EQ DB "x=$" Y_EQ DB "y=$" SUM_MSG DB "x+y=$" SUB_MSG DB "x-y=$" SUB_MSG_2 DB "x-y=-$" NUM1 DB ? NUM2 DB ? SUM DW ? DATA ENDS CODE SEGMENT MAIN PROC FAR MOV AX,@DATA MOV DS,AX ST...
; A063498: Atoms in cluster of n layers around C_60. ; 0,32,104,236,448,760,1192,1764,2496,3408,4520,5852,7424,9256,11368,13780,16512,19584,23016,26828,31040,35672,40744,46276,52288,58800,65832,73404,81536,90248,99560,109492,120064,131296,143208,155820,169152,183224,198056,213668,230080,247312,265384,284316,304128,3248...
; A173078: a(n) = (5*2^n - 2*(-1)^n - 9)/3. ; 1,3,11,23,51,103,211,423,851,1703,3411,6823,13651,27303,54611,109223,218451,436903,873811,1747623,3495251,6990503,13981011,27962023,55924051,111848103,223696211,447392423,894784851,1789569703,3579139411,7158278823,14316557651,28633115303,57266230611,114532461223,22906492245...
******************************************************************************** * Boot loader FD - Benoit Rousseau 05/11/2020 * ------------------------------------------------------------------------------ * * Description * ----------- * Animation de la palette: fondu vers une couleur cible PAL_TO * Initialisation d...
// Copyright (c) 2019-2021 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge,...
// Copyright (c) 2012 Pieter Wuille // Copyright (c) 2012-2014 The Bitcoin developers // Copyright (c) 2017 The PIVX developers // Copyright (c) 2018-2019 The Ingenuity developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php....
.text .global _start _start: movzbw %ah,%ax movzbl %ah,%eax movzbq %r8b,%rax movzwl %ax,%eax movzwq %r8w,%rax int $0x80
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 91 call lwaitly_b ld hl, fe00 ld d, 10 ld a, d ld(hl++), a ld a, 08 ld(hl++), a inc l inc l ld a, d ld(hl++), ...
/* * Copyright (c) 2021, krishpranav * * SPDX-License-Identifier: BSD-2-Clause */ // includes #include "archs/x86_32/GDT.h" namespace Arch::x86_32 { static TSS tss = { .prev_tss = 0, .esp0 = 0, .ss0 = 0x10, .esp1 = 0, .ss1 = 0, .esp2 = 0, .ss2 = 0, .cr3 = 0, .eip = 0, .efla...
; dskcpy check for type ; and parses special case dskcpy lda #$e0 ; kill bam buffer sta bufuse jsr clnbam ; clr tbam jsr bam2x ; get bam lindx in .x lda #$ff sta buf0,x ; mark bam out-of-memory lda #$0f sta linuse ; free al...
DEZ_Header: smpsHeaderStartSong 2 smpsHeaderVoice DEZ_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $60 smpsHeaderDAC DEZ_DAC smpsHeaderFM DEZ_FM1, $00, $16 smpsHeaderFM DEZ_FM2, $00, $08 smpsHeaderFM DEZ_FM3, $00, $10 smpsHeaderFM DEZ_FM4, $00, $10 smpsHe...
; A116525: a(0)=1, a(1)=1, a(n) = 11*a(n/2) for even n, and a(n) = 10*a((n-1)/2) + a((n+1)/2) for odd n >= 3. ; 0,1,11,21,121,131,231,331,1331,1341,1441,1541,2541,2641,3641,4641,14641,14651,14751,14851,15851,15951,16951,17951,27951,28051,29051,30051,40051,41051,51051,61051,161051,161061,161161,161261,162261,162361,1633...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/settings/chromeos/internet_handler.h" #include <memory> #include <vector> #include "ash/constants/ash_pref_names.h" #i...
* Sprite f4 * * Mode 4 * +|-------+ * -ggg g - * |g g g | * |g g g | * |gg gggg| * |g g | * |g g | * |g g | * +|-------+ * section sprite xdef sp_f4 xref sp_zero sp_f4 dc.w $0100,$0000 dc.w 8,7,0,0 dc.l sc4_f4-* dc.l sp_zero-* dc.l 0 sc4_f4 dc.w $E800,$0000 dc.w $8A00,$0000 dc.w $8A00,$0000...
/* * Copyright (c) 2020, Sergey Bugaev <bugaevc@serenityos.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
//===- AArch64RegisterInfo.cpp - AArch64 Register Information -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ExceptionHandler.Asm ; ; Abstract: ; ; IA32 CPU Exception Handler ; ; Notes: ; ;--------------------...
;=============================================================================== ; Copyright 2015-2020 Intel Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apa...
; A340504: Fixed under 0 -> 03, 1 -> 23, 2 -> 21, 3 -> 01. ; Submitted by Stefano Spezia ; 0,3,0,1,0,3,2,3,0,3,0,1,2,1,0,1,0,3,0,1,0,3,2,3,2,1,2,3,0,3,2,3,0,3,0,1,0,3,2,3,0,3,0,1,2,1,0,1,2,1,2,3,2,1,0,1,0,3,0,1,2,1,0,1,0,3,0,1,0,3,2,3,0,3,0,1,2,1,0,1,0,3,0,1,0,3,2,3,2,1,2,3,0,3,2,3,2,1,2,3 mul $0,2 add $0,1 mov $2,3 l...
;***************************************************************************** ;* MMX/SSE2/AVX-optimized 10-bit H.264 qpel code ;***************************************************************************** ;* Copyright (C) 2011 x264 project ;* ;* Authors: Daniel Kang <daniel.d.kang@gmail.com> ;* ;* This file is part o...
; Just probe the memory banks PROGRAM_ROM = 0 INCLUDE "common.asm" SAVE "probe.bin", entry_point, end_of_code
.text main: b next li $a0, 0 li $v0, 1 syscall next: li $a0, 1 li $v0, 1 syscall
; ; jfdctfst.asm - fast integer FDCT (SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright (C) 2016, D. R. Commander. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsim...
/* * Copyright (c) 2020-2021, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * GAMS - General Algebraic Modeling System C++ API * * Copyright (c) 2017-2021 GAMS Software GmbH <support@gams.com> * Copyright (c) 2017-2021 GAMS Development Corp. <support@gams.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentat...
global IHT_calc3DByteDepthBackProject_ASM extern GLOBAL_startTimer extern GLOBAL_stopTimer %define PIXELS_PER_ITER 5 %define CHANNELS 3 section .data align 16 section .text ; rdi-->r12 imgdata ; rsi-->r13 histdata ; rdx-->r14 resdata ; rcx-->r15 imgrows ; r8-->rax imgcols ; r9-->rbx imgstep ; r9 i ; r10 j IHT_c...
IDD_DLGMENUEDIT equ 1500 IDC_EDTITEMCAPTION equ 2512 IDC_HOTMENU equ 2513 IDC_EDTITEMNAME equ 2516 IDC_EDTITEMID equ 2518 IDC_EDTHELPID equ 2529 IDC_BTNADD equ 2532 IDC_BTNINSERT equ 2519 IDC_BTNDELETE equ 2520 IDC_BTNL equ 2521 IDC_BTNR equ 2522 IDC_BTNU equ 2523 IDC_BTND e...
/* keybar.cpp Keybar */ /* Copyright © 1996 Eugene Roshal Copyright © 2000 Far Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright ...
$NOMOD51 $INCLUDE(hwconf.inc) ;------------------------------------------------------------------------------ ; This file is part of the C51 Compiler package ; Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc. ;------------------------------------------------------------------------------ ; STARTU...
; ;================================================================================================== ; ROMWBW 2.X CONFIGURATION DEFAULTS FOR UNA ;================================================================================================== ; ; THIS FILE CONTAINS THE FULL SET OF DEFAULT CONFIGURATION SETTIN...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.0.0 #11528 (MINGW64) ;-------------------------------------------------------- ; MODULE 01_variables .optsdcc -mgbz80 ; Generated using the rgbds tokens. ; We have to define these here as ...
;* ;* Raster Music Tracker, RMT Atari routine version 1.20090108 ;* (c) Radek Sterba, Raster/C.P.U., 2002 - 2009 ;* http://raster.atari.org ;* ;* Warnings: ;* ;* 1. RMT player routine needs 19 itself reserved bytes in zero page (no accessed ;* from any other routines) as well as cca 1KB of memory before the ...
; A157919: a(n) = 50*n^2 - 1. ; 49,199,449,799,1249,1799,2449,3199,4049,4999,6049,7199,8449,9799,11249,12799,14449,16199,18049,19999,22049,24199,26449,28799,31249,33799,36449,39199,42049,44999,48049,51199,54449,57799,61249,64799,68449,72199,76049,79999,84049,88199,92449,96799,101249,105799,110449,115199,120049,124999,1...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. Produced at the // Lawrence Livermore National Laboratory in collaboration with University of // Illinois Urbana-Champaign. // // Written by the LBANN Research Team (N. Dry...
; A126130: a(n) = (n+1)^n - n!. ; Submitted by Jon Maiga ; 1,7,58,601,7656,116929,2092112,43006401,999637120,25933795801,742968453888,23297606120881,793708546233344,29192838847099425,1152920196932478976,48661170952876980481,2185911204051268435968,104127343895537535804841,5242879878354899591168000,2782184270140495404605...
.thumb .org 0x00 .macro blh to, reg=r3 ldr \reg, =\to mov lr, \reg .short 0xF800 .endm Player: mov r0, #0x48 mov r2, #51 mul r2, r0 @Size of Copy ldr r1, =0x1F78 @Dest add r1, r7, r1 ldr r0, =0x202BE4C @Player Unit Pool blh 0x80D1724 @SaveToSram Enemy: mov r0, #0x48 mov r2, #50 mul r2, r0 @Size of Copy ldr r1, =0x1F...