text
stringlengths
1
1.05M
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/04/Fill.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blackens the screen, // i.e. writes...
;; ;; Copyright (c) 2020-2021, 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...
// Copyright 2014 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 "content/common/service_worker/service_worker_utils.h" #include <sstream> #include <string> #include "base/command_line.h" #include "base/featu...
include Dot.inc Dot_shiftColliders proto :PTR Dot .code Dot_Init proc pDot:PTR Dot, x:DWORD, y:DWORD ; Constructor mov r10d, x mov r11d, y mov rdi, pDot mov (Dot PTR [rdi]).m_PosX, r10d mov (Dot PTR [rdi]).m_PosY, r11d mov (Dot PTR [rdi]).m_VelX, 0 mov (Dot PTR [rdi]).m_VelY, 0 ; Set collision circle ...
/************************************************************************* > File Name: 997.cpp > Author: Maochongxin > Mail: maochongxin@gmail.com > Created Time: 四 3/ 7 20:49:43 2019 ************************************************************************/ class Solution { public: int findJudge(int N, vect...
; A069497: Triangular numbers of the form 6k. ; 0,6,36,66,78,120,210,276,300,378,528,630,666,780,990,1128,1176,1326,1596,1770,1830,2016,2346,2556,2628,2850,3240,3486,3570,3828,4278,4560,4656,4950,5460,5778,5886,6216,6786,7140,7260,7626,8256,8646,8778,9180 mov $4,$0 lpb $0 add $3,$0 div $0,2 mod $0,2 mov $5,2 ...
[SECTION .data] currentHash: dw 0 [SECTION .text] BITS 64 global NtAccessCheck global NtWorkerFactoryWorkerReady global NtAcceptConnectPort global NtMapUserPhysicalPagesScatter global NtWaitForSingleObject global NtCallbackReturn global NtReadFile global NtDeviceIoControlFile global NtWriteFile global NtRemoveIo...
; A129370: a(n)=n^2-(n-1)^2*(1-(-1)^n)/8. ; 0,1,4,8,16,21,36,40,64,65,100,96,144,133,196,176,256,225,324,280,400,341,484,408,576,481,676,560,784,645,900,736,1024,833,1156,936,1296,1045,1444,1160,1600,1281,1764,1408 mov $1,$0 pow $1,2 mov $2,$0 mov $3,$0 lpb $2,1 mov $2,1 lpb $1,1 sub $0,$2 sub $3,2 sub...
#include "kernel.inc" #include "corelib.inc" #include "expr.inc" .db "KEXC" .db KEXC_ENTRY_POINT .dw start .db KEXC_STACK_SIZE .dw 64 .db KEXC_NAME .dw name .db KEXC_HEADER_END name: .db "Calculator", 0 start: kld(de, corelib_path) pcall(loadLibrary) pcall(getKeypadLock)...
; ; Amstrad CPC library ; ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** Raúl Simarro, Artaburu 2007 ** ; ****************************************************** ; ; void __LIB__ __CALLEE__ cpc_UnExo(int src, int dst); ; ; ...
// ------------------------------------------------------------------------------------------------- // Copyright 2017 - NumScale SAS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or copy at // ...
;********************************************************* ;* MODULE: MAIN ;* ;* DESCRIPTION: SETUP OF MODULES, MAIN LOOP ;* .module main .title Main Module .include '..\error\error.def' .include '..\expreval\expreval.def' .include '..\integer\integer.def' .include '..\io\io.def' .include '..\program\program.def'...
Route16Script: call EnableAutoTextBoxDrawing ld hl, Route16TrainerHeader0 ld de, Route16ScriptPointers ld a, [wRoute16CurScript] call ExecuteCurMapScriptInTable ld [wRoute16CurScript], a ret Route16Script_59946: xor a ld [wJoyIgnore], a ld [wRoute16CurScript], a ld [wCurMapScript], a ret Route16ScriptPoin...
; void dzx7_smart_rcs_callee(void *src, void *dst) SECTION code_compress_zx7 PUBLIC _dzx7_smart_rcs_callee EXTERN asm_dzx7_smart_rcs _dzx7_smart_rcs_callee: pop af pop hl pop de push af jp asm_dzx7_smart_rcs
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xe307, %r15 nop nop nop xor $7320, %rcx and $0xffffffffffffffc0, %r15 movaps (%r15), %xmm0 vpextrq $0, %xmm0, %rsi nop nop nop nop xor %rdi, %rdi lea addresses_UC_ht+0xad...
copyright zengfr site:http://github.com/zengfr/romhack 001222 bne $1278 [enemy+ F, enemy+2F, enemy+4F, enemy+6F, enemy+8F, enemy+AF, etc+2F, item+2F] 00122A lea ($a,A0), A0 [enemy+ 8, enemy+ A, enemy+28, enemy+2A, enemy+48, enemy+4A, enemy+68, enemy+6A, enemy+88, enemy+8A, enemy+A8, enemy+AA, item+28, item+2...
#include <CGnuPlotStyleErrorBars.h> #include <CGnuPlotPlot.h> #include <CGnuPlotGroup.h> #include <CGnuPlotErrorBarObject.h> #include <CGnuPlotErrorBarData.h> #include <CGnuPlotRenderer.h> CGnuPlotStyleErrorBars:: CGnuPlotStyleErrorBars() : CGnuPlotStyleBase(CGnuPlot::PlotStyle::ERRORBARS) { } void CGnuPlotStyleErro...
.ORIG x3860 ;void delay(count); ; Delay ; Input: Number to count down from ; Output: None DELAY ADD R0, R0, #-1 BRzp DELAY RET .END
clc adc {m2} sta {m1} lda #0 adc #0 sta {m1}+1
; A021797: Decimal expansion of 1/793. ; Submitted by Jon Maiga ; 0,0,1,2,6,1,0,3,4,0,4,7,9,1,9,2,9,3,8,2,0,9,3,3,1,6,5,1,9,5,4,6,0,2,7,7,4,2,7,4,9,0,5,4,2,2,4,4,6,4,0,6,0,5,2,9,6,3,4,3,0,0,1,2,6,1,0,3,4,0,4,7,9,1,9,2,9,3,8,2,0,9,3,3,1,6,5,1,9,5,4,6,0,2,7,7,4,2,7 add $0,1 mov $2,10 pow $2,$0 div $2,793 mov $0,$2 mod $...
; char *strsep(char ** restrict stringp, const char * restrict delim) SECTION code_clib SECTION code_string PUBLIC _strsep EXTERN asm_strsep _strsep: pop af pop bc pop de push de push bc push af jp asm_strsep
// Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle // // See the LICENSE.txt file for license information. Please report all // issues on https://gitlab.onelab.info/gmsh/gmsh/issues. #include "GmshDefines.h" #include "MLine.h" #include "nodalBasis.h" #include "BasisFactory.h" #include "GaussLegendre1D.h" #in...
; A072055: a(n) = 2*prime(n)+1. ; Submitted by Jon Maiga ; 5,7,11,15,23,27,35,39,47,59,63,75,83,87,95,107,119,123,135,143,147,159,167,179,195,203,207,215,219,227,255,263,275,279,299,303,315,327,335,347,359,363,383,387,395,399,423,447,455,459,467,479,483,503,515,527,539,543,555,563,567,587,615,623,627,635,663,675,695,69...
.size 8000 .text@48 inc a ldff(45), a 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, 03 call lwaitly_b ld c, 41 lbegin_waitm0: ldff a, (c) and a, b jrnz lbegin_waitm0 ld a, 80 ldf...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x14663, %rdx nop nop add $1332, %rbp movb $0x61, (%rdx) nop nop nop nop and $37122, %rbp lea addresses_normal_ht+0x3c2b, %r10 nop nop nop nop nop xor $40964, %rsi vm...
; ; Copyright (c) 2013 The WebM 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 proje...
; A002417: 4-dimensional figurate numbers: a(n) = n*binomial(n+2, 3). ; 1,8,30,80,175,336,588,960,1485,2200,3146,4368,5915,7840,10200,13056,16473,20520,25270,30800,37191,44528,52900,62400,73125,85176,98658,113680,130355,148800,169136,191488,215985,242760,271950,303696,338143,375440,415740,459200,505981,556248,610170,66...
; void b_array_clear(b_array_t *a) SECTION code_clib SECTION code_adt_b_array PUBLIC b_array_clear EXTERN asm_b_array_clear defc b_array_clear = asm_b_array_clear ; SDCC bridge for Classic IF __CLASSIC PUBLIC _b_array_clear defc _b_array_clear = b_array_clear ENDIF
/* CREATED BY STREAM_CIPHER april-2021 */ // segemnted sieve to find all prime in range L to R such that R-L<=10^6 and R<=10^12 #include<bits/stdc++.h> using namespace std; void __print(long long x) {cerr << x;}void __print(unsigned long long x) {cerr << x;}void __print(long double x) {cerr << x;} void __print...
/* * main.cxx * * OPAL call generator * * Copyright (c) 2007 Equivalence Pty. Ltd. * * The contents of this file are subject to the Mozilla Public License * Version 1.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.mozi...
; A206332: Complement of A092754. ; 2,5,6,11,12,13,14,23,24,25,26,27,28,29,30,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208...
GLOBAL _getSeconds, _getMinutes, _getHours, _getDayOfWeek, _getDayOfWeek, _getDayOfMonth, _getMonth, _getYear section .text %macro timeHandleMaster 1 push rbp ; create stackframe mov rbp, rsp xor rax, rax ; clear register call _setClock mov rdi, %1 ; pass parameter call _readRtc leave...
%ifdef CONFIG { "RegData": { "MM0": ["0x3f8000003f800000", "0x0"], "MM1": ["0x3f0000003f000000", "0x0"], "MM2": ["0x3eaaaaab3eaaaaab", "0x0"] } } %endif pfrsqrt mm0, [rel data1] pfrsqrt mm1, [rel data2] pfrsqrt mm2, [rel data3] hlt align 8 data1: dd 1.0 dd 16.0 data2: dd 4.0 dd 25.0 data3: dd 9....
; Translated with bf2asm.py from 666.bf ; Compile with: nasm -f elf64 666.asm ; Link with: ld 666.o -o 666 %define SYS_READ 0 %define SYS_WRITE 1 %define SYS_EXIT 60 %define STDIN 0 %define STDOUT 1 %define INPUT_OUTPUT_SIZE 1 %define TAPE_SIZE 32768 section .bss buf resb 1 section .data tape times TAPE_SIZE ...
; A253145: Triangular numbers (A000217) omitting the term 1. ; 0,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253,276,300,325,351,378,406,435,465,496,528,561,595,630,666,703,741,780,820,861,903,946,990,1035,1081,1128,1176,1225,1275,1326,1378,1431,1485,1540,1596,1653,1711,1770,1830,1891,1953,2016,20...
/* * * Copyright (C) 2003-2016, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmsr * * Author: Joerg Riesme...
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <moaicore/MOAICamera.h> #include <moaicore/MOAILogMessages.h> #include <moaicore/MOAIViewport.h> #define DEFAULT_HFOV 60.0f #define DEFAULT_NEAR_PLANE 1.0f #define DEFAULT_FAR_PLANE 10000.0f //========...
/* * Copyright (c) 2012 The WebRTC 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 contribut...
; A152741: 13 times triangular numbers. ; 0,13,39,78,130,195,273,364,468,585,715,858,1014,1183,1365,1560,1768,1989,2223,2470,2730,3003,3289,3588,3900,4225,4563,4914,5278,5655,6045,6448,6864,7293,7735,8190,8658,9139,9633,10140,10660,11193,11739,12298,12870,13455,14053,14664,15288,15925,16575,17238,17914,18603,19305,2002...
; A049616: a(n) = Sum_{i=1..n} T(i,n-i), where T is A049615. ; 0,0,2,6,13,22,36,52,73,98,130,164,207,252,306,368,439,512,598,686,787,898,1022,1148,1291,1440,1604,1778,1969,2162,2378,2596,2831,3080,3348,3628,3933,4240,4568,4912,5281,5652,6054,6458,6887,7338,7814,8292,8803 mov $2,$0 mov $4,$0 lpb $2 mov $0,$4 sub $2...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2008, 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 distributi...
.8086 .model small .data arr db 01h, 02h, 03h, 04h, 05h, 06h, 07h, 08h, 09h, 0ah ec db ? oc db ? .code start: mov ax, @data mov ds, ax lea si, arr mov cl, 0ah back: mov al,[si] ror al, 01 jc odd inc ec jmp down odd: inc oc down: inc si dec cl jnz back mov ah,4ch ...
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentatio...
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 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 a...
pa equ 288h pb equ 289h pc equ 28Ah ctl_55 equ 28Bh code segment assume cs:code start: mov cx,10 ; for 10 times ; 8255 Initialization mov dx,ctl_55 ; register indirect addressing mov al,10001011b ; control word, A: Mode0, Output, C(A) I/O Input; ; ...
#include "gtest/gtest.h" TEST(SW_World_Tiles_MarshTile, type_is_TILE_TYPE_MARSH) { MarshTile marsh_tile; EXPECT_EQ(TileType::TILE_TYPE_MARSH, marsh_tile.get_tile_type()); } TEST(SW_World_Tiles_MarshTile, tile_super_type) { MarshTile mt; EXPECT_EQ(TileSuperType::TILE_SUPER_TYPE_GROUND, mt.get_tile_super_type...
; A040002: Continued fraction for sqrt(5). ; 2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 pow $1,$0 mul $1,2 gcd $1,4 mov $0,$1
; DV3 QPC Floppy Disk Read Sector  1993 Tony Tebby ;  2000 Marcel Kilgus section dv3 xdef fd_rdirect ; direct read sector xdef fd_rsint ; internal read sector xdef fd_ckroot ; internal check root sector xdef fd_rroot ; internal read root sector xref fd_hold ; reserve the interface xref ...
; A128624: Row sums of A128623. ; 1,4,12,24,45,72,112,160,225,300,396,504,637,784,960,1152,1377,1620,1900,2200,2541,2904,3312,3744,4225,4732,5292,5880,6525,7200,7936,8704,9537,10404,11340,12312,13357,14440,15600,16800,18081,19404,20812,22264,23805,25392,27072,28800,30625,32500,34476,36504,38637,40824,43120,45472,47937,...
%ifdef CONFIG { "RegData": { "MM0": ["0x20A121A222A323A4", "0x0"], "MM1": ["0x0041004300450047", "0x0"], "MM2": ["0x0", "0x0"], "MM3": ["0x0", "0x0"], "MM4": ["0x0", "0x0"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx +...
;-------------------------------------------------------- ; Category 7 Function 54 Set Event mask ;-------------------------------------------------------- ; ; ; IOMSETEVENTMASK PROC NEAR RET IOMSETEVENTMASK ENDP
; A166754: a(n) = 4*A061547(n+1) - 3*A166753(n). ; 1,2,9,22,53,114,241,494,1005,2026,4073,8166,16357,32738,65505,131038,262109,524250,1048537,2097110,4194261,8388562,16777169,33554382,67108813,134217674,268435401,536870854,1073741765,2147483586,4294967233,8589934526,17179869117,34359738298,68719476665,137438953398,2748...
SECTION code_graphics PUBLIC commondrawto EXTERN _linedraw EXTERN __gfx_coords ; Common line drawing entry point ; ;void *(int x2, int y2) __smallc ;Note ints are actually uint8_t ;Entry: hl = drawto function commondrawto: push hl ;Function pointer ld hl,sp+4 ld e,(hl) inc hl ld d,(hl) inc hl push ...
// // InfoBar sample. // // Shows the usage of the ClsInfoBar class. // #include "D:\dev\libs\ClassLib\all.h" #include "resource.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // Dialog which contains a few ClsInfoBar controls. class InfoBarDlg : public ClsDialog { ...
format ELF executable ;entry start macro push [arg] { push arg } macro pop [arg] { pop arg } macro global [symbol] { local isextrn,isglobal if defined symbol & ~ defined isextrn public symbol else if used symbol & defined isglobal extrn symbol isextrn = 1 end if isglobal = 1 } segment readable executable e...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
[bits 32] [extern kernel_main] ;A kernel "magic number" for idetifying the kernel start dw 0xf0f0 ;Create the _start symbol for the kernel to make the linker happy global _start _start: call kernel_main jmp $
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1c97a, %r13 inc %rbx mov (%r13), %r11 nop nop nop nop mfence lea addresses_UC_ht+0x50a, %r11 nop nop nop cmp %r9, %r9 movb $0x61, (%r11) nop add %r13, %r13 lea addresses_UC_h...
; A301687: Partial sums of A301686. ; 1,6,13,27,44,63,91,120,151,193,234,277,333,386,441,511,576,643,727,804,883,981,1070,1161,1273,1374,1477,1603,1716,1831,1971,2096,2223,2377,2514,2653,2821,2970,3121,3303,3464,3627,3823,3996,4171,4381,4566,4753,4977,5174,5373,5611,5820,6031,6283,6504,6727,6993,7226,7461,7741 mov $5,...
; A084535: a(n) = floor(n^2 - n^(3/2)). ; 0,0,1,3,8,13,21,30,41,54,68,84,102,122,143,166,192,218,247,278,310,344,380,418,458,500,543,588,635,684,735,788,842,899,957,1017,1080,1143,1209,1277,1347,1418,1491,1567,1644,1723,1804,1886,1971,2058,2146,2236,2329,2423,2519,2617,2716,2818,2922,3027,3135,3244,3355,3468,3584,3700,...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %r15 push %rbx push %rdi push %rdx // Store mov $0x857, %rdx nop nop nop xor %r13, %r13 movl $0x51525354, (%rdx) nop nop nop nop nop xor %rdx, %rdx // Store lea addresses_RW+0x1d38f, %r10 nop ...
; configuration.asm ; Configuration program for Artillery Duel processor 6502 org $0801 ;zeropage addresses and equates include "equates.asm" ;macros include "macros.asm" include "duel-macros.asm" BASIC ;6 sys 2064 dc.b $0c,$08,$06,$00,$9e,$20,$32,$30 dc.b $36,$34,$00,$00,$00,$00,$00 START PRINT C...
// Test string encoding via literals // Commodore 64 PRG executable file .file [name="string-encoding-literals.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :Bas...
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: common buffer routines FILE: bufferClearBand.asm AUTHOR: Dave Durran ROUTINES: Name Description ---- ----------- REVISION HISTORY: ...
/***************************************************************/ /* */ /* PROJECT NAME : RTOSDemo */ /* FILE : reset_program.asm */ /* DESCRIPTION : Reset Program ...
; A304487: a(n) = (3 + 2*n - 3*n^2 + 4*n^3 - 3*((-1 + n) mod 2))/6. ; 1,4,15,36,73,128,207,312,449,620,831,1084,1385,1736,2143,2608,3137,3732,4399,5140,5961,6864,7855,8936,10113,11388,12767,14252,15849,17560,19391,21344,23425,25636,27983,30468,33097,35872,38799,41880,45121,48524,52095,55836,59753,63848,68127,72592,7724...
.macosx_version_min 10, 11 .section __TEXT,__text,regular,pure_instructions .globl _main _main: leave daa das aad $10 cbtw cwtl cwtd cltd repz scasb repz scasw repz scasl pushw %ax pushl %eax pushw $12 pushl $12 pus...
; A021303: Decimal expansion of 1/299. ; 0,0,3,3,4,4,4,8,1,6,0,5,3,5,1,1,7,0,5,6,8,5,6,1,8,7,2,9,0,9,6,9,8,9,9,6,6,5,5,5,1,8,3,9,4,6,4,8,8,2,9,4,3,1,4,3,8,1,2,7,0,9,0,3,0,1,0,0,3,3,4,4,4,8,1,6,0,5,3,5,1,1,7,0,5,6,8,5,6,1,8,7,2,9,0,9,6,9,8 add $0,1 mov $1,10 pow $1,$0 sub $1,6 mul $1,8 div $1,13 add $1,4 div $1,184 mod...
SFX_Cymbal1_2_Ch1: unknownnoise0x20 0, 161, 16 endchannel
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1a766, %rdi clflush (%rdi) nop nop sub %rsi, %rsi mov $0x6162636465666768, %r8 movq %r8, %xmm6 and $0xffffffffffffffc0, %rdi movaps %xmm6, (%rdi) nop nop sub %rsi, %rsi lea addresses_D_ht+0x1a0c6, %rsi le...
; A086570: Expansion of (1 + 3x + 5x^2 + 7x^3...) / (1 - 2x + 3x^2 - 4x^3...). ; 1,5,12,20,28,36,44,52,60,68,76,84,92,100,108,116,124,132,140,148,156,164,172,180,188,196,204,212,220,228,236,244,252,260,268,276,284,292,300,308,316,324,332,340,348,356,364,372,380,388,396,404,412,420,428 mul $0,4 mov $1,$0 trn $1,5 add $...
; void sp1_GetSprClr(uchar **sprsrc, struct sp1_ap *dest, uchar n) ; CALLER linkage for function pointers SECTION code_sprite_sp1 PUBLIC sp1_GetSprClr EXTERN sp1_GetSprClr_callee EXTERN ASMDISP_SP1_GETSPRCLR_CALLEE .sp1_GetSprClr pop af pop bc ld b,c pop de pop hl push hl push de push bc ...
;------------------------------------------------------------------------------- ; Praktikum SMD 2015 ; M.Wahyudin (140310120031) ; ; Name : LATIH5.ASM ; Desc : Counter P1 dari 0 hingga 255 dengan Delay ; PB toggle pseudo ops ; Input : Pushbutton di P3.0 (toggle) ; Output: LED P1 ;---------------------------...
#include "savefile.h" #include "./expanded/savefileexpanded.h" #include "./savefileiterator.h" #include "./savefiletoolset.h" SaveFile::SaveFile(QObject* parent) : QObject(parent) { // One-Time Init Data in order of dependencies // Since the sav file is a primitive array we have to clear it first to zer...
BasicUpstart2(start) *=$080f "Main Code" #import "input_handling.asm" #import "collision_detection.asm" #import "ball_direction_2.asm" #import "ball_move.asm" #import "delay.asm" #import "start_wait.asm" start: jsr $e544 //clears screen, built in sub-routine at this location // set colors of screen lda ...
// https://leetcode.com/problems/binary-tree-inorder-traversal/ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<int> inord...
ORG #8000 DISP #5D3B DB 0,1,#FF,#FF DB #F0,#C0,#B0,#22,"23922",#22; ,":",#EA DB #16,0,0 DB #13,1,#10,7,#11,1 DB " Loader by Alx/BW 04.11.2001 ",#10 DI LD SP,#6100 CLS XOR A OUT (#FE),A LD HL,#5B00 CLS_L DEC HL LD ...
<?hh //strict /** * This file is part of hhspecify. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace hhspecify; enum LifeCycleEventType : string { ExamplePackageStart = 'exampl...
.include "defaults_item.asm" table_file_jp equ "exe6-utf8.tbl" table_file_en equ "bn6-utf8.tbl" game_code_len equ 3 game_code equ 0x4252354A // BR5J game_code_2 equ 0x42523545 // BR5E game_code_3 equ 0x42523550 // BR5P card_type equ 0 card_id equ 18 card_no equ "018" card_sub equ "Item Card 018" card_sub_...
#include "peer_connection_multi_observer.h" PeerConnectionMultiObserver::PeerConnectionMultiObserver(const std::vector<webrtc::PeerConnectionObserver*>& observers) : observers_(observers) { } PeerConnectionMultiObserver::~PeerConnectionMultiObserver() { } void PeerConnectionMultiObserver::OnSignalingChan...
; inffasx64.asm is a hand tuned assembler version of inffast.c - fast decoding ; version for AMD64 on Windows using Microsoft C compiler ; ; inffasx64.asm is automatically convert from AMD64 portion of inffas86.c ; inffasx64.asm is called by inffas8664.c, which contain more info. ; to compile this file, I use option ...
; A084768: P_n(7), where P_n is n-th Legendre polynomial; also, a(n) = central coefficient of (1 + 7*x + 12*x^2)^n. ; Submitted by Jon Maiga ; 1,7,73,847,10321,129367,1651609,21360031,278905249,3668760487,48543499753,645382441711,8614382884849,115367108888311,1549456900170553,20861640747345727,281483386791966529,380522...
SECTION code_fp_math16 PUBLIC l_f16_uchar2f PUBLIC l_f16_schar2f PUBLIC l_f16_uint2f PUBLIC l_f16_sint2f PUBLIC l_f16_f2sint PUBLIC l_f16_f2uint PUBLIC i16_f16 PUBLIC u16_f16 PUBLIC f16_i8 PUBLIC f16_u8 PUBLIC f16_i16 PUBLIC f16_u16 EXTERN asm_f16_f24 EXTE...
lda ({z1}),y bne {la1} iny lda ({z1}),y bne {la1}
; this file is part of Release, written by Malban in 2017 ; HAS_VOICE0 = 1 HAS_TONE0 = 1 FIRST7 = $3E dw $0044 pattern8Data: db $FF, $18, $97, $DE, $63, $FE, $1A, $7E, $E6, $34 db $ED, $FC, $70, $30, $7F, $DE, $4F, $1F, $4C, $7B db $EF, $47, $1E, $77, $93, $C7, $FE, $F4, $76, $F2 db $7F, $7F, $51, $F7, $BC, $9F, ...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: sock_setttl XLIB sock_setttl LIB no_zsock INCLUDE "#packages.def" INCLUDE "#zsock.def" .sock_setttl ld a,r_sock_setttl call_pkg(tcp_all) ret nc ; We failed..are we installed? cp rc_pnf scf ;signal error ...
;------------------------------------------------------------------------------ ; ; 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. Th...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x11ec2, %r12 nop nop nop xor %rax, %rax movw $0x6162, (%r12) xor $10219, %r12 lea addresses_WT_ht+0x1ac30, %r13 nop nop nop sub %rbx, %rbx movb (%r13), %r10b nop cm...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; int sscanf(const char *s, const char *format, ...) ; ; See C11 specification. ; ; =============================================================== SECTION code_stdio PUBL...
; A038587: Sizes of successive clusters in hexagonal lattice A_2 centered at deep hole. ; 3,6,12,12,18,21,27,27,30,36,42,42,48,48,54,54,63,69,69,69,75,78,84,84,90,96,102,102,102,102,114,114,120,123,129,129,135,141,141,141,144,150,156,156,168,168,174,174,174 mov $2,$0 add $2,1 mov $4,$0 lpb $2,1 mov $0,$4 sub $2,1 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x145bf, %rdi nop and %r13, %r13 movb $0x61, (%rdi) nop nop nop nop nop inc %rbp lea addresses_WT_ht+0x4e2e, %rsi lea addresses_WT_ht+0x1a662, %rdi nop nop nop nop inc %r8 mov ...
db DEX_DODUO ; pokedex id db 35 ; base hp db 85 ; base attack db 45 ; base defense db 75 ; base speed db 35 ; base special db NORMAL ; species type 1 db FLYING ; species type 2 db 190 ; catch rate db 96 ; base exp yield INCBIN "pic/ymon/doduo.pic",0,1 ; 55, sprite dimensions dw DoduoPicFront dw DoduoPicBack ; attacks k...
BITS 32 global _start section .text _start: push 0xb mov eax, [esp] xor edx, edx push edx push 'n/sh' push '//bi' mov ebx, esp xor ecx, ecx int 0x80
; ; OZ 700 console library ; ; getkey() Wait for keypress ; ; $Id: fgetc_cons.asm,v 1.2 2003/05/20 16:01:56 stefano Exp $ ; ;XREF KeyBufGetPos ;XREF KeyBufPutPos ;XREF EnableKeyboard XLIB fgetc_cons LIB getk .fgetc_cons call getk ld a,l and a jr nz,fgetc_cons .kwait call getk ld a,l and a ...
// Copyright 2020 The Fuchsia 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 "src/developer/forensics/crash_reports/crash_register.h" #include <fuchsia/feedback/cpp/fidl.h> #include <lib/async/cpp/executor.h> #include <lib...
;------------------------------------------------------------------------------ ; ; 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. Th...
; A008260: Coordination sequence for Paracelsian. ; 1,4,10,21,37,57,81,109,142,180,222,268,318,373,433,497,565,637,714,796,882,972,1066,1165,1269,1377,1489,1605,1726,1852,1982,2116,2254,2397,2545,2697,2853,3013,3178,3348,3522,3700,3882,4069,4261,4457,4657,4861,5070,5284,5502,5724,5950,6181,6417,6657,6901,7149,7402,7660...
;CALCnet2 Core Routines ;(c) 2001-2006 Kerm Martian aka Christopher Mitchell ;Project refresh (c) 2010 Kerm Martian aka Christopher Mitchell ;USB work and debugging (c) 2011-2012 Kerm Martian aka Christopher Mitchell ;Assistance from Tim "geekboy" Keller ;please see the associated license.txt for license details ; ;Thi...
; A268315: Decimal expansion of 256/27. ; 9,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8,1,4,8 mul $0,2 add $0,1 sub $1,$0 mul $0,2 div $1,3 add $1,$0 mod $1,$0 add $1,9 mod $1,10 mov $0,$1
// Copyright (c) 2019 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 "net/third_party/quiche/src/quic/core/qpack/qpack_blocking_manager.h" #include <limits> #include <utility> namespace quic { QpackBlockingM...